NOT APPLICABLE
NOT APPLICABLE
NOT APPLICABLE
This invention relates to be on board recordation of operating data from a motor vehicle into a dedicated onboard diagnostic port memory module. More specifically, a “trip oriented” data recordation protocol is actuated during vehicle operation when the dedicated onboard diagnostic port memory module is connected to the onboard diagnostic port of the vehicle. The dedicated onboard diagnostic port memory module can be preprogrammed before placement to the vehicle as to certain critical data parameters to be monitored, placed in vehicle for monitoring over an extended period of time, and finally intelligently interrogated to discharge the recorded data. A detailed record of vehicle and driver operation of a vehicle can be generated from the recorded data.
Davis Instruments of Hayward, Calif. has pioneered the onboard recordation of data through a module known as “Drive Right.” This device requires custom installation on a vehicle by a skilled mechanic, including a device for monitoring driveshaft rotation and the like. Recordation of data includes counters indicating vehicle operation within certain speed bands and acceleration and deceleration parameters. Purchase and operation of the device requires a motivated buyer willing to pay the cost of the unit as well as to accept the inconvenience and additional expense of vehicle installation. This device finds its highest applicability with owners of “fleets” of automobiles.
So-called Onboard Diagnostic Ports are known and indeed required by The Environmental Protection Agency (EPA). The current device is known as Onboard Diagnostic Port II (hereinafter OBD II). The device is required to enable certain data to be sensed when the OBD II is monitored, and that data is specified by The Society of Automotive Engineers Vehicle Electrical Engineering Systems Diagnostic Standards Committee. The physical configuration of the OBD II output plug is specified (SAE J1962), containing a pin array which is to be electronically monitored. What is not mandated is the language of data transmission, and which pins are to emit the data. The OBD II mandated data to be sensed is contained in a voluminous catalog.
Surprisingly, there are four discrete “languages” (and corresponding pin arrays) now extant in which these OBD II ports now emit data. Those languages are SAE J1850 (GM, Ford), ISO, ISO 9141 (Chrysler and most foreign cars) and KWP 2000 (many 2001 and later foreign cars). For each of the so-called languages, the standard OBD II port has different pins emitting different information in different formats.
The OBD II ports are designed to be connected with standard diagnostic equipment in modern automobile repair shops. It is known to have diagnostic equipment which upon being plugged into the OBD II port, determines the “language” of a particular port, properly addresses the pin array, and finally receives and interprets for the mechanic the specified data required of the OBD II port. It is known that manufacturers have proprietary codes for correspondingly proprietary operating parameters and parts of specific vehicles. Further, it is common to load into standard diagnostic equipment the labels specified by the Diagnostic Standards Committee. When the standard diagnostic equipment detects the data required of the OBD II port, the standard diagnostic equipment gives that particular data a display label which corresponds to the data mandated by the Diagnostic Standards Committee.
OBD II ports are, in some circumstances, monitored by having a computer (for example a laptop or notebook computer) attached to the ports while the vehicle is operating. Typically, a mechanic makes the computer connection, and thereafter drives or runs the vehicle to collect the desired data. Either during operation or once the data is collected, the computer displays the collected data in a programmed format.
As any driver of a modern vehicle can attest, such vehicles have warning systems including malfunction indicator lamps. In the usual case the malfunction indicator lamps are generally uninformative. For example, a typical display of such a malfunction indicator lamps is “Check Engine.” Unfortunately, many of these lights are programmed so that they can be turned off only by a dealer. Often the lights are triggered by events that cannot be subsequently determined by the dealer when the light is reset. In short, these lights can be and often are a source of irritation. Even more important, sometimes the lights are activated by very routine automotive conditions, such as a dirty air filter. When such conditions occur, the driver must go to the dealer and pay a “diagnostic fee,” have the dealer correct the conditions (for example replace the dirty air filter), and finally retrieve the vehicle from the dealer. A simplification in the operation of such malfunction indicator lamps would be ideal.
The above enumeration of the background and the related problems to the background is specific to the invention disclosed. The reader will recognize that frequently invention can include recognition of the problem(s) to be solved. The background set forth above was selected after the preferred embodiment of this invention was developed.
An onboard diagnostic memory module is configured to plug into the OBD II port and has a real-time clock and power supply, a microprocessor powered from the OBD II port, microprocessor operating firmware, and an attached memory (currently 4 MB). In operation, the onboard diagnostic memory module is preprogrammed with data collection parameters through microprocessor firmware by connection to a PC having programming software for the module firmware. Thereafter, the onboard diagnostic memory module is moved into pin connection with the OBD II port of a vehicle. Data is recorded on a “trip” basis, preferably using starting of the engine to define the beginning of the trip and stopping of the engine to define the end of the trip. EPA-mandated operating parameters are monitored, including vehicle speed. From the monitored vehicle speed, hard and extreme acceleration and deceleration parameters, as well as distance traveled, is determined and logged on a trip basis. When loaded with a typical data set from connection to a vehicle, which can be up to 300 hours of trip operation (about one month of average vehicle operation), the onboard diagnostic memory module is unplugged from the vehicle and plugged into the RS 232 port of a PC. Alternatively, the vehicle installed onboard diagnostic memory module can be intelligently interrogated in a permanent position of installation in a vehicle. The intelligent interrogation occurs by interpretive software from an interrogating PC or palm sized personal digital assistant (PDA) to retrieve a trip-based and organized data set including hard and extreme acceleration and deceleration, velocity (in discrete bands), distance traveled, as well as the required EPA-mandated operating parameters. Telltale printouts can be generated highlighting operator habits (such as hard and extreme deceleration indicating that the driver is following too close), as well as the critical vehicle operating parameters. An extraordinary event log is maintained of densely recorded data based on (probable) accident parameters. Programming of the module can include resetting the malfunction indicator lamps of the vehicle. Installation of the module plugged to the OBD II port does not require vehicle modification.
The device is ideal for monitoring driver habits. The generated plots of vehicle speed bands with respect to time with overlying hard and extreme acceleration and deceleration parameters generates a unique telltale of driver habit including the “following too close.” Further, the module is capable of operating on a driver-assigned basis. For example, the driver can be required to connect the module to any vehicle he operates with the module faithfully recording the cumulative operating parameters of the particular vehicle(s), despite language changes at the OBD II ports.
Further, the device can be used to greatly facilitate repair. For example, where a vehicle owner complains of intermittent vehicle behavior, such as a vehicle stalling due to a sticking valve, the module can be plugged into the vehicle for a specific period of time while the vehicle undergoes normal operation by the operator. At the end of a preselected period of time, the module can be returned to a diagnosing PC, the problem determined, and the repair made. In determining the problem, the memory of the operator can be used to pinpoint the particular trip and the probable time of the intermittent malfunction. The mechanic can be directed to the particular data set containing the vehicle operating parameters to diagnose and repair the intermittent vehicle behavior.
The repair simplifications are manifold. For example, trip data sets can be correlated with the memory of the driver. The driver can then supplement the recorded information with his memory to fully reproduce the exact conditions under which a malfunction occurred. Further, where simple malfunction conditions exist, such as dirty air filters, they may be immediately identified and repaired by facilities having less than full vehicle repair capability. A dirty air filter may be replaced at the local gas station. Where a malfunction indicator light such as “Check Engine” is triggered by the dirty air filter, the vehicle operator can reset the malfunction indicator light using the programmed module.
Even more complicated repair scenarios are simplified. For example, when the operating data is downloaded to a PC, data coincident with a complicated malfunction can be isolated, and thereafter transmitted over the Internet to a diagnostic program specific to the vehicle involved. Thereafter, what is ordinarily a complicated diagnosis of vehicle malfunction can be rapidly reported to the mechanic or even to the vehicle operator. For example, for vehicles having custom parts with the OBD II port emitting custom codes, the codes can be sent over the Internet for diagnosis of the particular custom malfunction occurring.
Both the vehicle operator and the vehicle owner can benefit from the device. For example, where a company-owned vehicle is used by an operating employee required to submit expense reports, the combination of the trip-oriented data recordation (including time and trip mileage) with owner- and employee-generated information provides an uncontrovertable record of employee and vehicle operation. Further, where an accident occurs, the module can provide important corroboration to vehicle operating parameters which might otherwise be contested questions of fact related to the accident.
The PC can be interactive with the onboard diagnostic memory module. For example, if the operating firmware in the onboard diagnostic memory module contains a bug, correction can occur. Upon connection to the Internet, the PC can download a discrete program operable on a PC connected to the onboard diagnostic memory module. When the program is downloaded to the PC, it then runs to replace the firmware data set in the onboard diagnostic memory module to either remedy the malfunction or install and upgrade. Further, where enhanced operation of the onboard diagnostic port memory module is required for new vehicles, Internet firmware replacement can rapidly provide the required enhanced operation.
The organization of the collected data into “trip”-oriented data sets is particularly useful. In utilizing the system clock to time and date stamp the collected data with respect to a trip, the particularly useful organization of vehicle speed, acceleration and deceleration, and operating parameters can be collected. This organization, is extraordinarily useful, whether or not the module is removable from the vehicle. For example, provision may be made to download a permanently installed module using the infrared communication feature built into most hand held personal digital assistants (PDAs).
Referring to
Referring to
Referring to
Referring to
Continuing with
Having set forth in the general configuration of onboard diagnostic memory module 10, circuitry for use with this device can be understood with respect to
There are five major sections to the design of the onboard diagnostic memory module 10 hardware. These are the Microcontroller Section shown in
As of this writing, the onboard diagnostic memory module design contains two printed circuit boards (PCBs), which are stacked on top of each other and connected via a single connector. The “top” board contains sections in
At present, there are two variations of the onboard diagnostic memory module design: the “basic” version and the “advanced” version. The basic version runs on 5.0V and has a smaller serial flash memory while the advanced version runs on 3.3V and has a larger serial flash memory. Please refer to the schematics for each of the versions.
Bother versions (basic and advanced) support all four types of vehicle protocols using the same hardware: PWM, VPW, and the two variants of ISO. Each section will be described in the sections below.
The microcontroller section forms the heart of the design.
U8 is an ATMEL ATmega 16L microcontroller, with on board flash memory, SPI communications bus, and a UART. The microcontroller is supplied with an 8 MHz clock by crystal X2. The microcontroller is powered from 5.0V in the “basic” version of the product, and 3.3V in the “advanced” version.
U2 is an ATMEL serial flash memory chip where the trip log data is stored. The basic version of the onboard diagnostic memory module uses an AT45D011 1 mega-bit memory, while the advanced version uses an AT45DB041B 4 mega-bit part. The serial flash memory is powered from 5.0V in the basic version and 3.3V in the advanced version.
U5 is a Real Time Clock (RTC), which provides a non-volatile time source for the product. When no power is applied to the onboard diagnostic memory module, the RTC is powered from 3V battery BT1 (see J1962 Interface Section). When the onboard diagnostic memory module is powered, power to the RTC is supplied from either 5.0V (basic) or 3.3V (advanced). The clock communicates to the microcontroller (U8) via a two-wire communications bus.
U4 is a RS232 level shifter to provide communications with a PC. U4 has an integral charge pump to generate the proper voltage levels and operates from either 5.0V (basic) or 3.3V (advanced).
JP1 is a connector that provides the link to the PC when the onboard diagnostic memory module 10 is not plugged into the vehicle. There are three types of signals provided on this connector: a) external power, b) RS232 to PC, and c) SPI bus for development use. Note that diode D2 isolates the external power source from the vehicle power source if they are connected at the same time. The pin assignments are as follows:
The PWM/VPW Physical Layer (see
U6A is an Operational Amplifier (Op Amp), which drives the J1850 Plus line for both the PWM and VPW modes. It is configured as a non-inverting amplifier with a gain of four (4) and the input on pin 3. Q1 is a NPN transistor and is used to provide a high current drive source.
The components R6, R8, C16, and R16 create a wave shaping network that drive the input of U6A (for the values of these components see the BOM for the basic and advanced models). The input of this network is the output of microcontroller U8 pin 14, PWM/VPW TXD. In the basic mode, this voltage is 5.0V when high and in the advanced model it is 3.3V when high. The output of the network (i.e. the input to U6 pin 3) is 2.0V in VPW mode and 1.25V in PWM mode, resulting in a signal on the J1850 Plus line of 8.0V in VPW mode and 5.0V in PWM mode.
Q2 is a NPN transistor that forms the drive for the J1850 Minus line. In PWM mode, Q2 is actively driven on and off in complement to Q1 thus creating a differential signal between the J1850 Plus and J1850 Minus lines. In VPW mode, Q2 is forced off, leaving the J1850 Minus line disconnected.
R7 and R14 form a bias network for PWM mode. If undriven or disconnected from the vehicle, the J1850 Plus line will be pulled low and the J1850 Minus line will be pulled high (5.0V).
R15, C17, and Q3 create a termination circuit for VPW mode. In VPW mode, Q3 is turned on thus enabling the termination. In PWM mode, Q3 is left off.
U6B and associated circuitry form a differential receiver for PWM mode. R18 provides approximately 10% hysteresis for noise immunity. Q4 provides a level shifter and inverter for the output signal that goes to the microcontroller U8 pin 16 (PWM/VPW RXD).
U6C and associated circuitry form a receiver for VPW mode. The reference value of 3.75V is used to compare against the VPW signal (which is nominally between 8V and 0V). R23 provides about 10% hysteresis for noise immunity, and Q5 creates a level shifter and inverter for the output signal, which is logically “OR'ed” with the signal from Q4 via an open collector configuration.
In PWM mode, Q5 is disabled (MODE3 forced low) and the signal to the microcontroller is derived from Q4. In VPW mode, Q4 is disabled (MODE2 forced low) and the signal to the microcontroller is derived from Q5.
The ISO Physical Layer (see
Transistor Q6 (NPN) forms the drive for the ISO L line and Q7 forms the drive for the ISO K line.
U6D and associated circuitry form a receiver for ISO mode. The reference value of approximately 6.0V is used to compare against the ISO K signal (which is nominally between 12V and 0V). R36 provides about 10% hysteresis for noise immunity, and Q8 creates a level shifter and inverter for the output signal, which is connected to the microcontroller U8 pin 24.
JP2 is a socket (row of plated through holes), which provides the connection to the bottom board. The pin assignments are as follows:
The Optional IrDA Interface (see
U10 is an “ENDEC” (Encoder/Decoder) chip that converts the serial data from the microcontroller U8 into a pulse train suitable for IrDA communication. U10 is supplied with a clock source equal to 16 times the serial baud rate from U8 pin 16, XCLK.
U11 is an IrDA transceiver that interfaces directly to the IR transmitter (LED D5) and the IR receiver (PIN diode D6).
If populated, both U10 and U11 are supplied from 3.3V in the advanced model, and 5.0V in the basic model.
The J1962 Interface (see
P1 is the OBDII connector that interfaces with the vehicle:
Resistors R2 and R4 form a voltage divider network (18.0 Vin=2.56 Vout) that is used to sense the vehicle battery voltage by the microcontroller U8.
Diode D3 is used to isolate the vehicle power source from the external power source (if connected).
D4 is a Transient Voltage Suppressor (TVS) that is used to prevent voltage surges on the vehicle battery bus from damaging the onboard diagnostic memory module.
BT1 is a primary (non rechargeable) 3V battery cell that is used as the backup power for the RTC U5.
U1 is a 5V regulator used to power the onboard diagnostic memory module circuitry.
C38 is a 0.1F “supercap” that is used to provide adequate hold up time when the onboard diagnostic memory module is unplugged from the vehicle. This is required so that the microcontroller has enough time to program the flash memory and perform an orderly shutdown before power is lost.
U13 is a 3.3V regulator that is only used in the advanced model. If the unit is a basic mode, R45 is installed instead of U13.
JP3 is the connector the top board that provides the following signals:
Referring to
First, the onboard diagnostic port memory module is connected to the OBD II port of the host vehicle and detection of the connection made at 311. Sequentially, each protocol GM [VPW], Ford [PWM], ISO, and Advanced ISO [KWP] is tried at 312 from the onboard diagnostic port memory module to the automobile through the OBD II port 1. When the language of the vehicle is identified, both the pin array and the parameters necessary for reading data passing through the pin array are selected. Data is capable of being read and retained.
Second, onboard diagnostic port memory module 10 must determine the starting of the vehicle. In the protocol used here, where the engine has RPMs above 400, it is presumed that the vehicle is operating. Unfortunately, with at least some vehicles where constant interrogation is made for determining engine revolutions, battery failure can occur. Such battery failure results from the automobile computer being awakened, interrogating the engine for revolutions, and thereafter returning to the standby state. To avoid this effect, vehicle voltage is monitored. Where a starter motor is utilized, vehicle voltage change occurs. Only when vehicle voltage has changed by a predetermined amount, for example down two volts, is interrogation made of engine RPMs. The RPMs are chosen to be greater than those imposed by the starter motor but less than idling speed. Thus, vehicle voltage is detected at 314 and where voltage detection occurs, RPMs are measured at 315. This causes the storage of trip start data at 316.
Third, there is always the possibility of onboard diagnostic module 10 being disconnected from OBD II port 1, say where a driver chooses to have an unmonitored trip. In this case, tampered time 317 is recorded responsive to the drop in voltage caused by the disconnection. However, since engine revolutions will not be monitored in this instance, the data recorded will indicate onboard diagnostic module 10 disconnection from OBD II port 1.
Referring to
Returning to the calculation of acceleration and deceleration at 322, a probable accident log can be maintained. Specifically, and where deceleration has a threshold greater than certain preset limits, and the vehicle speed goes to zero, a log of these unusual events can be maintained. All vehicle events occurring within the previous 20 seconds are remembered in a stack. Data stored in this stack can be subsequently accessed.
It remains for the end of trip to be detected. Specifically, and at the end of each 5-second interval, engine speed is monitored at 327 to determine whether RPMs are above a certain preset limit, here shown as 400 RPMs. This speed is faster than that speed generated by the starter motor but less than the normal speed of the engine when it is idling. If engine speed in the preset amount (over 400 RPMs) is detected, the recordation cycle continues. If the speed is not detected, it is presumed that the trip is ended and the end-of-trip data is stored at 328.
Referring to
First, the onboard diagnostic module memory can be cleared at 425.
Second, the onboard diagnostic module memory can be downloaded at 426. This can include data viewing 427 of the trip log 428, activity log 429, the accident log 430, and the vehicle trouble log 431. Provision is made to store the accumulated data at 432 and to recover previously stored data at 433. Additionally, provision is made to label the onboard diagnostic module unit number, unit name, and particular vehicle utilized. For example, onboard diagnostic memory module 10 could be assigned to a particular driver, and that driver could have a choice of vehicles to operate. Each time the driver plugged onboard diagnostic memory module 10 into a vehicle to be operated, vehicle identity would be recorded at 440 along with the driver's identification.
Third, the onboard diagnostic port memory module can be configured at 450. Such configuration can include speed bands 451, deceleration or brake bands 452, acceleration bands 453, operational parameters 454, and finally the required time stamping clock setting at 455.
Referring to
The particular utility of superimposing hard and extreme braking on the display data is apparent with respect to
Referring to
Referring to
Referring to
Referring to
Referring to
It is to be understood that the parameters for triggering an accident log recordation can be altered.
Number | Date | Country | |
---|---|---|---|
Parent | 10281330 | Oct 2002 | US |
Child | 10979346 | Nov 2004 | US |