XJS ( X27 ) 1975 - 1996 3.6 4.0 5.3 6.0

XJS Trip computer replacement options

Thread Tools
 
Search this Thread
 
  #21  
Old 10-15-2015, 08:37 PM
workworkwork's Avatar
Member
Join Date: Sep 2015
Location: Maryland
Posts: 39
Received 7 Likes on 7 Posts
Default

I am new to my XJS but I am not sure I even understand what the numbers are telling me on the trip computer. They don't seem realistic for anything. Anyone have a short description of what I am looking at when I push each button>
 
Attached Thumbnails XJS Trip computer replacement options-infocenter.jpg  
  #22  
Old 10-15-2015, 11:21 PM
Join Date: Sep 2012
Location: Denver, CO
Posts: 751
Received 313 Likes on 205 Posts
Default

RESET: Hold this switch for 10 seconds to reset the computer.
RESET-then-DISP: Hold these switches to set the minutes on the clock.
RESET-then-TIME: Hold these switches to set the hours on the clock.
DISP (DISPLAY): Press this switch to blank out the display while the computer is on.
TIME: Press this switch to see the total time on since last reset; it then switches to showing the time of day.
AV.SPD. (AVERAGE SPEED): Press this switch to display the average speed (in the current units) since the computer was last reset.
DIST. (DISTANCE): Press this switch to display total distance traveled (in the current units) since the last reset.
AVE. (AVERAGE): Press this switch to display the average mileage (in the current units) since the last reset.
INST. (INSTANT): Press this switch to display the instantaneous mileage (in the current units) over the last few seconds.
FUEL: Press this switch to display the total fuel consumed (in the current units) since the last reset.
mls/km: Slide this switch to select gallons/miles or litres/kilometres for the displayed statistics.


NOTES:
-- mls/km switch will cause the display to update after a couple of seconds. Both styles of units are always being tracked, and the switch can be moved at any time.
-- Gallons are US Gallons or Imperial Gallons, depending on the part number of the trip computer, which varied according to the country it was sold in. But this can be changed in the field if necessary, see below.
-- Mileage is reported as "miles per gallon" or "litres per 100 km" depending on the mls/km switch. Note the opposite sense of those statistics, but they are the norm for the regions they are used in.


Overall theory of operation

For fuel usage, the trip computer simply counts pulses fed to it by the Interface Unit, which is mounted next to the ECU in the trunk. The Interface Unit takes pulses from the ECU and converts them into a format that the trip computer can use. The ECU pulses are simply an exact copy of the pulses being sent to the injectors. The wider the ECU pulses (i.e. the more fuel being injected per pulse), the more pulses are generated by the Interface Unit. It's a pulse-width-to-number-of-pulses converter. The rate is approximately 1 output pulse per 3.3ms of input pulse time, with a floor of 1ms subtracted off the input pulse time (i.e. you get one output pulse for a 4.3ms input pulse, and two output pulses for a 7.6ms input pulse, and so on.) The input pulses are assumed to be coming in constantly, at about one every 75ms at idle, and more frequently at higher RPMs. The output pulse rate varies smoothly with the input pulse width and rate.

It's safe to assume that the different Interface Units in cars with different engines simply alter this timing/pulse ratio, since the trip computers are all the same. If the trip computer is expecting a certain number of pulses per gallon, the Interface Unit has to be designed so that the width and number of injection pulses that deliver a gallon of fuel in that engine, generate that number of pulses on the Interface Unit output pin.

When the trip computer receives 4800 pulses, it will add .1 US gallon to the fuel used meter. It will do this through .9 gallons, but then it only takes an additional 4060 pulses to get to 1 even gallon. This is apparently how they decided to make up the stacking error from dividing out all these decimal numbers on an integer processor. So that's 47260 pulses per gallon.

Similarly for Liters it takes 1269 pulses per .1L but only 12493 pulses for a full Liter because of the short "make-up" count from .9 to 1.
And again for Imperial Gallons, it's 5777 pulses for .1 I.G. but 56890 pulses for a full I.G.

None of these numbers work out *precisely* against the official conversion rates between units. Imperial Gallons seem to be the farthest off though we're still only talking a hundred pulses out of nearly 57,000... or about a tenth of one percent. For the other units its much closer. I guess since the trip computer only gauges amounts to the nearest tenth of a unit anyway, it just doesn't matter.

In the same fashion, the trip computer counts pulses received from the transmission speed sensor (the same signal that goes to the speedometer) to determine distance driven Once again the exact specs on the pulses don't matter, only the number of them, though the processor can't handle pulses which are outrageously narrower and more closely spaced than expected. (It really doesn't like it if the rate of pulses hits 256 kph or 256 MPH. It will still count distance, but the average speed won't update.)

Tenths of miles are racked up by 812 or 813 pulses (depending on which tenth), while a final 687 pulses brings it to an even mile, with a total of 8001 pulses.

Tenths of kilometers are racked up by 504 or 505 pulses, while a final 428 pulses brings it to an even kilometer, for a total of 4972 pulses.
In the same way that the number of pulses needed depends on which tenth of a mile or kilometer, the number of pulses needed for a whole mile or kilometer depends on which one it is; sometimes it is one pulse more or less than stated. But none of this is random, the scheme is deterministic, e.g. it always takes 812 pulses to go from 0.2 miles to 0.3 miles, while it always takes 813 pulses to go from 0.3 miles to 0.4 miles. It always takes 8001 pulses to go from 1 mile to 2 miles, while it always takes 8000 pulses to go from 2 miles to 3 miles.

The processor simply starts counting time for every second it is "on" from the ignition switch after a reset. It uses this to display total on time since last reset, and to calculate average speed since last reset. Average mileage calculations are done by dividing out distance traveled over fuel consumed since last reset. Instantaneous mileage is calculated by dividing out some very short buffer worth of distance and fuel pulses recently received.

Miles/gallons and kilometers/liters are always simultaneously being accumulated. The front panel switch changes which one is displayed after a brief update lag. The "Imp Link" jumper on the circuit board, when connected, will cause the gallons to accumulate at the Imperial Gallon rate instead of the US Gallon rate. This change happens instantaneously... which is not an issue since the board is manufactured one way or the other... but if someone were to add another switch to be able to switch it on the fly, it would not convert already-logged fuel consumtion when switched. It will only start logging further fuel consumption at the new rate.

The display has 4 digits. Its normal mode of operation is to display whole units and tenths of units, with all leading and trailing zeroes suppressed, unless the value is exactly 0. So the values proceed like so: 0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1 1.1 1.2

Note that the decimal point is also suppressed on whole numbers. If you do not reset the trip computer with each fillup, it will continue to accumulate all the values to some astonishingly high levels. When you go from 999.9 units to 1000 units, it simply stops displaying the decimal point and any tenths of units. So the values proceed like this: 999.8 999.9 1000 1001 1002 with display updates happening 1/10 as often once 1000 is reached.
 

Last edited by Safari; 10-15-2015 at 11:33 PM.
The following 5 users liked this post by Safari:
CL CHong (03-22-2022), Flint Ironstag (12-11-2021), Forcedair1 (10-18-2015), kurtomatic (10-16-2015), ptjs1 (12-12-2021)
  #23  
Old 10-15-2015, 11:22 PM
heflirob's Avatar
Member
Join Date: Mar 2014
Location: Stillwater, OK
Posts: 33
Received 13 Likes on 8 Posts
Default

Originally Posted by workworkwork
I am new to my XJS but I am not sure I even understand what the numbers are telling me on the trip computer. They don't seem realistic for anything. Anyone have a short description of what I am looking at when I push each button>
As I understand it from left to right:

(All figures are since previous reset)

Fuel - Gallons used
Inst - Instant MPG
Ave - Average MPG
Dist - Miles traveled
Av Spd - Average Speed
Time - I think time engine has been running since reset hh:mm? After pressing this button, the display will eventually revert to the clock.
Disp - Turns display on/off
Reset - Hold it to zero everything.

Keep in mind your speedometer/odometer have to be working 100% of the time and your engine must be running correctly for the figures to be remotely accurate. After all, like most of the other instruments in the car, these figures are mostly suggestions.
 
  #24  
Old 10-16-2015, 11:45 AM
workworkwork's Avatar
Member
Join Date: Sep 2015
Location: Maryland
Posts: 39
Received 7 Likes on 7 Posts
Default

Safari and Heflirop thank you. That information is so good I have printed it to put in the glove box for reference. Much appreciated.
 
The following users liked this post:
csbush (12-09-2021)
  #25  
Old 10-16-2015, 02:02 PM
JTsmks's Avatar
Veteran Member
Join Date: Nov 2012
Location: Fleming Island, FL
Posts: 1,757
Received 723 Likes on 556 Posts
Default

Here's the link to where all that stuff was copied from.

http://www.backglass.org/duncan/jag/ifu/
 
  #26  
Old 10-18-2015, 03:44 PM
Forcedair1's Avatar
Veteran Member
Join Date: Jul 2010
Location: Southern California
Posts: 1,121
Received 365 Likes on 262 Posts
Default

Originally Posted by Safari
RESET: Hold this switch for 10 seconds to reset the computer.
RESET-then-DISP: Hold these switches to set the minutes on the clock.
RESET-then-TIME: Hold these switches to set the hours on the clock.
DISP (DISPLAY): Press this switch to blank out the display while the computer is on.
TIME: Press this switch to see the total time on since last reset; it then switches to showing the time of day.
AV.SPD. (AVERAGE SPEED): Press this switch to display the average speed (in the current units) since the computer was last reset.
DIST. (DISTANCE): Press this switch to display total distance traveled (in the current units) since the last reset.
AVE. (AVERAGE): Press this switch to display the average mileage (in the current units) since the last reset.
INST. (INSTANT): Press this switch to display the instantaneous mileage (in the current units) over the last few seconds.
FUEL: Press this switch to display the total fuel consumed (in the current units) since the last reset.
mls/km: Slide this switch to select gallons/miles or litres/kilometres for the displayed statistics.


NOTES:
-- mls/km switch will cause the display to update after a couple of seconds. Both styles of units are always being tracked, and the switch can be moved at any time.
-- Gallons are US Gallons or Imperial Gallons, depending on the part number of the trip computer, which varied according to the country it was sold in. But this can be changed in the field if necessary, see below.
-- Mileage is reported as "miles per gallon" or "litres per 100 km" depending on the mls/km switch. Note the opposite sense of those statistics, but they are the norm for the regions they are used in.


Overall theory of operation

For fuel usage, the trip computer simply counts pulses fed to it by the Interface Unit, which is mounted next to the ECU in the trunk. The Interface Unit takes pulses from the ECU and converts them into a format that the trip computer can use. The ECU pulses are simply an exact copy of the pulses being sent to the injectors. The wider the ECU pulses (i.e. the more fuel being injected per pulse), the more pulses are generated by the Interface Unit. It's a pulse-width-to-number-of-pulses converter. The rate is approximately 1 output pulse per 3.3ms of input pulse time, with a floor of 1ms subtracted off the input pulse time (i.e. you get one output pulse for a 4.3ms input pulse, and two output pulses for a 7.6ms input pulse, and so on.) The input pulses are assumed to be coming in constantly, at about one every 75ms at idle, and more frequently at higher RPMs. The output pulse rate varies smoothly with the input pulse width and rate.

It's safe to assume that the different Interface Units in cars with different engines simply alter this timing/pulse ratio, since the trip computers are all the same. If the trip computer is expecting a certain number of pulses per gallon, the Interface Unit has to be designed so that the width and number of injection pulses that deliver a gallon of fuel in that engine, generate that number of pulses on the Interface Unit output pin.

When the trip computer receives 4800 pulses, it will add .1 US gallon to the fuel used meter. It will do this through .9 gallons, but then it only takes an additional 4060 pulses to get to 1 even gallon. This is apparently how they decided to make up the stacking error from dividing out all these decimal numbers on an integer processor. So that's 47260 pulses per gallon.

Similarly for Liters it takes 1269 pulses per .1L but only 12493 pulses for a full Liter because of the short "make-up" count from .9 to 1.
And again for Imperial Gallons, it's 5777 pulses for .1 I.G. but 56890 pulses for a full I.G.

None of these numbers work out *precisely* against the official conversion rates between units. Imperial Gallons seem to be the farthest off though we're still only talking a hundred pulses out of nearly 57,000... or about a tenth of one percent. For the other units its much closer. I guess since the trip computer only gauges amounts to the nearest tenth of a unit anyway, it just doesn't matter.

In the same fashion, the trip computer counts pulses received from the transmission speed sensor (the same signal that goes to the speedometer) to determine distance driven Once again the exact specs on the pulses don't matter, only the number of them, though the processor can't handle pulses which are outrageously narrower and more closely spaced than expected. (It really doesn't like it if the rate of pulses hits 256 kph or 256 MPH. It will still count distance, but the average speed won't update.)

Tenths of miles are racked up by 812 or 813 pulses (depending on which tenth), while a final 687 pulses brings it to an even mile, with a total of 8001 pulses.

Tenths of kilometers are racked up by 504 or 505 pulses, while a final 428 pulses brings it to an even kilometer, for a total of 4972 pulses.
In the same way that the number of pulses needed depends on which tenth of a mile or kilometer, the number of pulses needed for a whole mile or kilometer depends on which one it is; sometimes it is one pulse more or less than stated. But none of this is random, the scheme is deterministic, e.g. it always takes 812 pulses to go from 0.2 miles to 0.3 miles, while it always takes 813 pulses to go from 0.3 miles to 0.4 miles. It always takes 8001 pulses to go from 1 mile to 2 miles, while it always takes 8000 pulses to go from 2 miles to 3 miles.

The processor simply starts counting time for every second it is "on" from the ignition switch after a reset. It uses this to display total on time since last reset, and to calculate average speed since last reset. Average mileage calculations are done by dividing out distance traveled over fuel consumed since last reset. Instantaneous mileage is calculated by dividing out some very short buffer worth of distance and fuel pulses recently received.

Miles/gallons and kilometers/liters are always simultaneously being accumulated. The front panel switch changes which one is displayed after a brief update lag. The "Imp Link" jumper on the circuit board, when connected, will cause the gallons to accumulate at the Imperial Gallon rate instead of the US Gallon rate. This change happens instantaneously... which is not an issue since the board is manufactured one way or the other... but if someone were to add another switch to be able to switch it on the fly, it would not convert already-logged fuel consumtion when switched. It will only start logging further fuel consumption at the new rate.

The display has 4 digits. Its normal mode of operation is to display whole units and tenths of units, with all leading and trailing zeroes suppressed, unless the value is exactly 0. So the values proceed like so: 0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1 1.1 1.2

Note that the decimal point is also suppressed on whole numbers. If you do not reset the trip computer with each fillup, it will continue to accumulate all the values to some astonishingly high levels. When you go from 999.9 units to 1000 units, it simply stops displaying the decimal point and any tenths of units. So the values proceed like this: 999.8 999.9 1000 1001 1002 with display updates happening 1/10 as often once 1000 is reached.
Great info, Safari. I haven't yet fully read it, but I'm reading it in a few. Judging by the fact that you're responding to Workwork's post which includes a prefacelift TC picture, I'm assuming that your description rather addresses the prefacelift unit, unless it is good for both, pre and aft? Would you know that?

Thanks, again, for the thorough effort.

Cheers,
 
  #27  
Old 10-18-2015, 04:21 PM
Forcedair1's Avatar
Veteran Member
Join Date: Jul 2010
Location: Southern California
Posts: 1,121
Received 365 Likes on 262 Posts
Default

OK, I need to ask the fellows who expressed a dislike towards the Trip Computer, were you referring to the pre-facelift unit with the green buttons,, or the newer LCD version....or both? I can see your point in regards to the looks with the earlier version; it does look more anticuated than the LCD unit, although I'd imagine that the operation probably covers pretty much everything that the facelift unit offers.

However (and going back to the "replacement items" for the trip computer), I have a picture of an XJS' center console with three gauges installed in place of the trip computer. I can tell by the adjacent switches that the removed TC was a pre-facelift unit. The gauges in the picture are OK, but they're very old fashion gauges and if one is installing new stuff in there, there's a wide range of beautiful similar function gauges available nowadays.

Wayne Estrada, a well known fellow in the XJS community, did exactly this with his V12. I have a pic of his version, but it's an .art extension file and I can't open it. His install is almost identical to the one below.

Cheers,
 
Attached Thumbnails XJS Trip computer replacement options-gauges%5B1%5D.jpg  
  #28  
Old 06-02-2020, 12:16 AM
Join Date: Jan 2014
Location: Delaneys Creek,Qld. Australia
Posts: 28,381
Received 6,327 Likes on 4,370 Posts
Default

Safari and Heflirop thank you, I have been searching for this info for a while now.

I do like the idea of the triple gauges in there though with water temp for each bank.
 
  #29  
Old 12-06-2021, 07:32 PM
losfinch's Avatar
Junior Member
Join Date: Oct 2021
Location: Arizona
Posts: 25
Received 3 Likes on 3 Posts
Default

Old thread, I know, but would I be correct in assuming that if one has done a v8 conversion then the trip computer's functions would be limited to the clock only since the fuel mileage is dependent upon the ecu and interface which are no longer receiving signals from the V12? All that works on mine is the clock and I can't even reset it so I'm wondering if its even worth keeping at this point??
 
  #30  
Old 12-06-2021, 07:52 PM
jal1234's Avatar
Veteran Member
Join Date: Sep 2015
Location: Northern Alabama
Posts: 1,082
Received 694 Likes on 438 Posts
Default

Yeah, the trip computer takes signals from the speedometer sender and the engine computer. Pretty much useless with a lump.
 
  #31  
Old 12-11-2021, 08:16 PM
Flint Ironstag's Avatar
Veteran Member
Join Date: Nov 2010
Location: Houston, TX
Posts: 2,166
Received 415 Likes on 313 Posts
Default

The auxiliary gauges from Ferrari 456 would probably look at home in the XJS.
 
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
XJsc-guy
PRIVATE For Sale / Trade or Buy Classifieds
0
09-02-2015 11:43 AM
User 070620
XK8 / XKR ( X100 )
4
08-13-2015 12:04 AM
Dan Bennett
PRIVATE For Sale / Trade or Buy Classifieds
2
06-07-2015 08:14 PM
r0m8470
XK8 / XKR ( X100 )
3
06-11-2012 11:38 AM
smokphattys
XK8 / XKR ( X100 )
1
12-18-2010 07:13 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 


Quick Reply: XJS Trip computer replacement options



All times are GMT -5. The time now is 10:45 PM.