A microprocessor transfers into a first so-called "fixed" zone of the memory the intermediate total distance travelled since the vehicle was put on the road and, in a second so called "journey" zone of the memory the successive partial distances travelled between each power supply cut off, the successive partial distances being transferred into the cells of the journey zone of the memory each time the power is switched off.

Patent
   4630293
Priority
Aug 24 1983
Filed
Aug 24 1984
Issued
Dec 16 1986
Expiry
Aug 24 2004
Assg.orig
Entity
Large
3
6
EXPIRED
1. A motor vehicle mileage totalizer, comprising:
a wheel sensor means for providing mileage distance data;
a nonvolatile memory;
a microprocessor, responsive to said mileage distance data and said nonvolatile memory, for calculating total distance dT and partial distance dP traveled and providing dT and dP data;
means for supplying electric power to said microprocessor;
switch means for turning on and turning off power to said microprocessor;
display means, responsive to said microprocessor, for displaying at least one of total distance dT and partial distance dP ; and
means, responsive to said switch means for transferring successive partial distance data d'P, d"P, d"'P . . . , to said nonvolatile memory, each successive time said switch means turns off power to said microprocessor, each of said successive partial distance data being located in adjacent memory cells of said memory, said means for transferring being further responsive to said switch means in the on condition, for transferring data from said memory to said microprocessor, said microprocessor further including means for summing all successive partial distance data d'P, d"P, d"'P . . . contained in said nonvolatile memory with an intermediate total distance data dI and providing a new intermediate total distance data for recording in said memory.
2. The mileage totalizer as claimed in claim 1, wherein, between said microprocessor and said switch means, there are mounted a first voltage comparator and a capacitor comprising an energy reservoir providing an output to a voltage regulator, said voltage regulator having an output connected to an input of said comparator and said capacitor connected to another input of said comparator so that each voltage drop is made known to said first comparator which informs said microprocessor thereof, the energy stored in said capacitor maintaining the voltage at a sufficient value for a certain time so as to allow transfer of the information from said microprocessor into said memory.
3. The totalizer as claimed in claim 2, further comprising a second switching means, controlled by said microprocessor, for supplying the capacitor and the regulator directly with electric power from said means for supplying.
4. The totalizer as claimed in claim 2, further comprising a second comparator for comparing the voltage from said regulator with a reference voltage and, should the voltage drop below said reference voltage, for compelling said microprocessor to keep a given state at its outputs.

The present invention relates to an electric mileage totalizer in which a digital means, such as a counter, associated with a sequencer or micro processor, counts the pulses coming from a wheel sensor, translates them and transmits them to a display unit which displays, on the one hand, the total distance travelled since the vehicle was put on the road and, on the other hand, the partial distance travelled since the last reset, this distance information being transferred, in order to safeguard it, into a non volatile memory, each time the supply voltage is switched off.

Non volatile memories offer wide possibilities from the electronic point of view, because of their relatively low cost price and ease of wiring. But they come up against certain problems in use, due more especially to the conditions in which the information is transferred from the counter to the memory and to the limited life span of these memories.

In so far as the transfer of information is concerned, the problem resides in the fact that the counter, which is an integrated logic circuit, for example a micro processor, with a supply voltage threshold, may, whenever it is switched on or switched off, or more precisely at each threshold cross over, generate random signals controlling the memory and possibly causing loss of its contents.

In so far as the life span of the memory is concerned, it depends on the number of possible writing cycles, i.e. on the number of information transfers into the cells of the registers of the memory. At the present time the maximum number is 1000, that is to say that after a 1000 times, writing changes in the cells are no longer guaranteed.

Now, this limitation is very serious for a motor vehicle mileage meter.

In fact, at the rate of ten ignition switch off operations per day for a vehicle used 20 days per month and 11 months in the year, that is to say 2 200 writing cycles per year, a non volatile memory with a maximum number of 1000 cycles would have a life span of six months.

If we assume that the life of a vehicle is 14 years, the writing rate should be reduced by 28 times at least.

The present invention solves the problems which have just been outlined. For this, there are mounted, between the microprocessor and the switch for the battery of the car, a first voltage comparator and a very high capacity capacitor serving as energy reservoir which are associated with a voltage regulator, so that any voltage drop is made known to the comparator which informs the counter thereof, the energy stored in the capacitor maintaining the voltage at a sufficient value for a certain time so as to allow transfer, or safeguarding, of the information from the microprocessor to the memory.

The invention further provides the possibility of directly supplying the capacitor and the above regulator from the battery, by direct control by the counter of logic control switch so as to ensure a sufficient power supply for transferring the information into the memory on ignition switch off.

The invention further provides, so as to protect the non volatile memory, from initialization of the microprocessor when the supply voltage drops below a certain threshold. For this, a second comparator compares the voltage from the regulator with a reference voltage in order, should the voltage drop below the reference value, the compel the counter to keep a given state at its outputs, generally zero.

So as to reduce the rate of writing in the memory, the invention provides for writing in a first so called "fixed" zone of the memory successive intermediate total distances covered since the vehicle was put on the road, i.e. relatively large distances whose value changes little and, in successive adjacent cells of a second so called "journey" zone of this memory, the relatively small successive partial distances travelled between each switch off of the supply current.

At each ignition switch off, the microprocessor transfers the new partial distance into the cells of the journey zone of the memory.

At each switch on, the intermediate total and partial distances are transferred into the microprocessor which adds them to provide a total distance traveled.

The fact of writing partial distances much smaller than the total distances and causing them to flow in a particular zone of the memory considerably reduces the rate of writing in the memory and thus achieves in a manner of speaking a "compression" of the stored data.

With the essential features of the invention outlined above, an embodiment and implementation of the invention will now be described by way of example with reference to the accompanying drawings in which:

FIG. 1 is a block diagram of the totalizer of the invention,

FIG. 2a is a diagram of a non volatile memory structure,

FIG. 2b is a linear representation of this structure, and

FIG. 3 is a diagram of a particular case of organization of the memory.

In the example shown, where the counter is a micro processor, a wheel sensor 1 feeds mileage distance pulses to this micro processor 2 at input 5 through an interface 3 which shapes these pulses. The micro processor 2 counts them, translates them, feeds them through output 6 to a display unit 4 which displays, on the one hand, the total distance covered since the vehicle was put on the road, and, on the other hand, the partial distance travelled since the last reset. Microprocessor 2 is fed with a five volt supply by battery 8 at input 7 with interposition of a diode 9 and a voltage regulator 10. Switch off is provided by switch 11. A high capacity capacitor 12, for example of at least a 100 μF is connected in front of the regulator 10. A comparator 13 receives on line 14 the voltage of battery 8 through switch 11 and, on line 15, the output voltage of regulator 10. A transistor 17 connected directly to the positive pole of the battery, on the one hand, and on the other to the regulator 10 and to capacitor 12 is controlled via line 18 by the microprocessor 2.

A second comparator 21 having an output connected to microprocessor 2 by line 27 has inputs connected on the one hand to the output of the regulator 10 and on the other to the cathode of a Zener diode 22, the anode of which is connected to ground. The cathode of the Zener diode 22 is fed by the condensor 12 through a resistor 28.

The distance information received by microprocessor 2 is safeguarded, at each ignition switch off, in a non volatile memory 20 supplied in electric power by line 19.

The operation of the unit which has just been described is as follows:

When, following ignition switch off by opening of switch 11, the supply voltage of the equipment remains at a sufficient value, for a certain time, because of the energy stored in capacitor 12, comparator 13 informs micro processor 2 over line 16 that the ignition has been switched off, by comparison of the information on lines 14 and 15. On the one hand, the information received by micro processor 2 on line 16 indicates that the distances should be transferred into the non volatile memory and on the other hand this information on line 16 indicates to micro processor 2 that transistor 17 should be controlled over line 18 so as to supply capacitor 12 and thus regulator 10 directly with power.

When the transfer is finished, the microprocessor 2 controls the transistor 17 in order to make it nonconductive and capacitor 12 is freely discharged in the regulator.

The second comparator 21 compares the voltage from regulator 10 with a reference voltage, obtained by the Zener diode 22 for example 4.5 volts and as soon as the output voltage of the regulator drops below 4.5 volts, comparator 21 compels micro processor 2, over line 27, to keep its outputs at zero.

The nonvolatile memory is here formed, as shown in FIGS. 2a and 2b, of sixty-four registers with four cells, i.e. a total of 256 cells, or bits of information, in which the number of writing cycles per cell is 1000 at most. There has been shown by way of example writing in the first eight registers of the memory data corresponding to a distance of 100 123.6 kilometer. The end of the contents is indicated by a 4 bits digit of code 1111 (i.e. F in hexadecimal notation).

According to the invention, the memory is divided into two zones, a "journey" zone of 56 registers (0 to 37 H) and a "fixed" zone of 8 registers (38 H to 3F H).

Let us suppose that the total distance DT travelled from the time the vehicle was put on the road, is 200 000 kilometers at most, and may reach 199 999.9 km. It will be formed then of seven digits DT7, DT6, DT5, DT4, DT3, DT2, DT1.

Let us suppose that the partial distance DP, which may be reset at any time by a key, is 1000 km at most, i.e. reaches at most 999.9 km, it is therefore formed of four digits DP4, DP3, DP2, DP1.

The intermediate total distance DI =DT -DP is formed by seven digits, DI7, DI6, DI5, DI4, DI3, DI2, DI1.

As is shown in FIG. 3, by way of example, the three most significant digits DI7, DI6, DI5 of the intermediate total distance are written into the "fixed" part of the memory (bottom right) and the four least significant digits of this distance DI4, DI3, DI2, DI1 in the first line of the "journey" part. They are followed by a code or recognition word F. This word is itself followed by different successive partial distances D'P, D"P, D"'P . . . each followed by a recognition word E defining the end of writing of each partial distance D'P, D"P, D"'P . . . .

The total distance is calculated by the micro processor by adding all the partial distances written into the journey zone plus the intermediate total distance DI. The end of the zone of addition of these partial distances is indicated by the recognition word D.

It is clear from the foregoing that the "compression" process of the invention appreciably increases the life span of the memory. In a memory with 64 registers, the fact of writing successive total distances of eight digits in successive registers, instead of always writing in the same registers would already have multiplied the life span of the memory by eight. But the invention further improves this compression rate, by writing only in the "journey" part partial distances having on average three to four digits, which leads to a compression rate of 56/4≃14, for a memory with 64 registers 8 of which are reserved for writing the intermediate total distance.

It can be seen that the "compression" procedure increases the life span of a non volatile memory by a factor ##EQU1## because of the "journey" zone with N=capacity of the "journey" zone,

I=capacity required for one intermediate partial distance data,

the term I+2 taking into account the recognition digits E and D.

Huynh, Tan Duc, Dubuisson, Georges

Patent Priority Assignee Title
4710888, Oct 01 1984 FORD MOTOR COMPANY, DEARBORN, MI , A CORP OF DE Electronic odometer
4803646, Oct 01 1984 Visteon Global Technologies, Inc Electronic odometer
5801621, Jul 17 1995 FCA US LLC Method for re-initializing vehicle parameters after a power loss in a motor vehicle
Patent Priority Assignee Title
4031363, May 17 1976 DIMETRICS, INC Display apparatus for automotive vehicles
4409663, Dec 22 1980 Kelsey-Hayes Company Digital odometer
4539641, Mar 23 1981 Hitachi, LTD Data processor in automobiles
EP67925,
JP129213A,
JP16307A,
///
Executed onAssignorAssigneeConveyanceFrameReelDoc
Aug 24 1984e.d. Veglia(assignment on the face of the patent)
Sep 20 1984DUBUISSON, GEORGESE D VEGLIAASSIGNMENT OF ASSIGNORS INTEREST 0045550252 pdf
Sep 20 1984HUYNH, TAN D E D VEGLIAASSIGNMENT OF ASSIGNORS INTEREST 0045550252 pdf
Date Maintenance Fee Events
May 16 1990M173: Payment of Maintenance Fee, 4th Year, PL 97-247.
May 24 1990ASPN: Payor Number Assigned.
Jul 26 1994REM: Maintenance Fee Reminder Mailed.
Dec 18 1994EXP: Patent Expired for Failure to Pay Maintenance Fees.


Date Maintenance Schedule
Dec 16 19894 years fee payment window open
Jun 16 19906 months grace period start (w surcharge)
Dec 16 1990patent expiry (for year 4)
Dec 16 19922 years to revive unintentionally abandoned end. (for year 4)
Dec 16 19938 years fee payment window open
Jun 16 19946 months grace period start (w surcharge)
Dec 16 1994patent expiry (for year 8)
Dec 16 19962 years to revive unintentionally abandoned end. (for year 8)
Dec 16 199712 years fee payment window open
Jun 16 19986 months grace period start (w surcharge)
Dec 16 1998patent expiry (for year 12)
Dec 16 20002 years to revive unintentionally abandoned end. (for year 12)