JPH0220644Y2 - - Google Patents

Info

Publication number
JPH0220644Y2
JPH0220644Y2 JP5739285U JP5739285U JPH0220644Y2 JP H0220644 Y2 JPH0220644 Y2 JP H0220644Y2 JP 5739285 U JP5739285 U JP 5739285U JP 5739285 U JP5739285 U JP 5739285U JP H0220644 Y2 JPH0220644 Y2 JP H0220644Y2
Authority
JP
Japan
Prior art keywords
power
data
distance
microcomputer
trip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP5739285U
Other languages
Japanese (ja)
Other versions
JPS61174621U (en
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed filed Critical
Priority to JP5739285U priority Critical patent/JPH0220644Y2/ja
Publication of JPS61174621U publication Critical patent/JPS61174621U/ja
Application granted granted Critical
Publication of JPH0220644Y2 publication Critical patent/JPH0220644Y2/ja
Expired legal-status Critical Current

Links

Landscapes

  • Measurement Of Distances Traversed On The Ground (AREA)

Description

【考案の詳細な説明】 (産業上の利用分野) この考案は、自動車等の走行距離を計測表示す
る電子式走行距離計に関する。
[Detailed Description of the Invention] (Industrial Application Field) This invention relates to an electronic odometer that measures and displays the distance traveled by an automobile or the like.

(従来の技術) 従来のこの種の電子式走行距離計としては、例
えば第2図に示すようなものがある。図におい
て、1は距離センサ、2はマイクロコンピユータ
(以下マイコンという。)、3はトリツプ用不揮発
性メモリ、4はオド用不揮発性メモリ、5はリセ
ツトスイツチ6のオン時に前記マイコン2内のト
リツプ用RAM(ランダム・アクセス・メモリ)
21のトリツプデータをリセツトするパルスを出
力するリセツトパルス発生回路、7は前記マイコ
ン2から出力されるトリツプデータ及びオドデー
タを表示する表示回路、8は車載バツテリ、9は
イグニツシヨンスイツチ、10はシステム電源用
ボルテージレギユレータ、11は前記イグニツシ
ヨンスイツチ9のオフ後も所定時間だけ前記シス
テム電源用ボルテージレギユレータ10に電力を
供給する遅延回路である。
(Prior Art) As a conventional electronic odometer of this type, there is one shown in FIG. 2, for example. In the figure, 1 is a distance sensor, 2 is a microcomputer (hereinafter referred to as a microcomputer), 3 is a nonvolatile memory for tripping, 4 is a nonvolatile memory for adjusting, and 5 is a tripping memory in the microcomputer 2 when the reset switch 6 is turned on. RAM (Random Access Memory)
21, a reset pulse generation circuit that outputs a pulse to reset the trip data; 7, a display circuit that displays the trip data and odd data output from the microcomputer 2; 8, an in-vehicle battery; 9, an ignition switch; and 10, for system power supply. A voltage regulator 11 is a delay circuit that supplies power to the system power supply voltage regulator 10 for a predetermined period of time even after the ignition switch 9 is turned off.

しかして、イグニツシヨンスイツチ9がオン状
態にある通常時においては、マイコン2はその距
離計算プログラムに従つて距離センサ1からの距
離パルスを計数して走行距離データを逐次算出す
ると共に、その走行距離データをマイコン2内の
トリツプ用RAM21及びオド用RAM22に記
憶されているそれまでの積算距離データに対して
加算することにより、新たな積算距離データを算
出し、その新たな積算距離データをトリツプ用
RAM21及びオド用RAM22に逐次更新記憶
する。さらに、その最新の積算距離データ(トリ
ツプデータ及びオドデータ)は表示回路7に供給
されて数値表示される。
Therefore, under normal conditions when the ignition switch 9 is in the on state, the microcomputer 2 counts the distance pulses from the distance sensor 1 according to the distance calculation program to sequentially calculate the distance traveled, and also calculates the distance traveled. By adding the distance data to the previous cumulative distance data stored in the trip RAM 21 and odometer RAM 22 in the microcomputer 2, new cumulative distance data is calculated, and the new cumulative distance data is used for the trip. for
The data is sequentially updated and stored in the RAM 21 and the Odo RAM 22. Further, the latest accumulated distance data (trip data and odometer data) is supplied to the display circuit 7 and displayed numerically.

一方、イグニツシヨンスイツチ9のオフ時に
は、マイコン2は該イグニツシヨンスイツチ9の
オフ信号をメモリ・リクエスト信号として受け、
遅延回路11の作用によりシステム電源用ボルテ
ージレギユレータ10の電力が保たれている間
に、トリツプ用RAM21及びオド用RAM22
のトリツプデータ及びオドデータを、EEPROM
(Electricaly Erasable Programable Read
Only Memory):電気的消去可能リード・オン
リ・メモリ)又はNVRAM(Non Volatile
Random Access Memory:不揮発性ランダ
ム・アクセス・メモリ)等のデータ蓄積のために
電源を必要としないメモリからなるトリツプ用不
揮発性メモリ3及びオド用不揮発性メモリ4に
夫々退避させる。
On the other hand, when the ignition switch 9 is off, the microcomputer 2 receives the off signal of the ignition switch 9 as a memory request signal,
While the power of the voltage regulator 10 for the system power supply is maintained by the action of the delay circuit 11, the trip RAM 21 and the odo RAM 22 are
The trip data and odometer data of
(Electrically Erasable Programmable Read
Electrically Erasable Read Only Memory) or NVRAM (Non Volatile Memory)
The data is saved in a non-volatile trip memory 3 and a non-volatile memory 4, respectively, which are memories that do not require a power source to store data, such as a random access memory (non-volatile random access memory).

なお、該トリツプ用不揮発性メモリ3及びオド
用不揮発性メモリ4に夫々格納されたトリツプデ
ータ及びオドデータは、イグニツシヨンスイツチ
9の再投入時にマイコン2内のトリツプ用RAM
21及びオド用RAM22に夫々読み出されるこ
とになる。
The trip data and odometer data stored in the trip nonvolatile memory 3 and the odometer nonvolatile memory 4 are stored in the trip RAM in the microcomputer 2 when the ignition switch 9 is turned on again.
21 and odo RAM 22, respectively.

(考案が解決しようとする問題点) しかしながら、このような従来の電子式走行距
離計にあつては、トリツプ用及びオド用不揮発性
メモリ3,4の内容をイグニツシヨンスイツチ9
のオフタイミング毎に書き換える方式のもので、
しかもトリツプ用及びオド用不揮発性メモリ3,
4に使用するEEPROMの書き換えサイクル寿命
が5000回程度となつていたため、例えば、1日に
10回エンジンの始動停止を繰り返したとすると、
500日しかトリツプ用及びオド用不揮発性メモリ
3,4を利用できず、車の寿命よりもトリツプ用
及びオド用不揮発性メモリ3,4の寿命が短いと
いう問題点があつた。
(Problem to be Solved by the Invention) However, in such a conventional electronic odometer, the contents of the trip and odometer non-volatile memories 3 and 4 can be transferred to the ignition switch 9.
It is a method that rewrites every off timing of
Moreover, non-volatile memory 3 for trip and adjustment,
Since the rewrite cycle life of the EEPROM used in 4 was approximately 5000 times, for example,
If you start and stop the engine 10 times,
There was a problem in that the nonvolatile memories 3 and 4 for trip and adjustment could only be used for 500 days, and the lifespan of the nonvolatile memories 3 and 4 for trip and adjustment was shorter than the life of the car.

この考案は、このような従来の問題点に着目し
てなされたもので、トリツプ又はオド用の不揮発
性メモリの書き換え回数を低減できる構成とする
ことにより、上記問題点を解決することを目的と
している。
This invention was made by focusing on these conventional problems, and aims to solve the above problems by creating a structure that can reduce the number of times the nonvolatile memory for trip or adjustment is rewritten. There is.

(問題点を解決するための手段) そこで、この考案からなる電子式走行距離計
は、距離センサと、マイクロコンピユータと、不
揮発性メモリと、電源スイツチを介して得られる
車載バツテリからの電力を受け該電源スイツチの
オン時に充電されるコンデンサ、2次電池等から
なる2次電源と、前記電源スイツチを介して得ら
れる前記車載バツテリからの電力を受け前記マイ
クロコンピユータ及び不揮発性メモリに作動電力
を供給するシステム電源と、前記電源スイツチを
介して得られる前記車載バツテリからの電力又は
前記2次電源からの電力を受け前記マイクロコン
ピユータの内部メモリに作動電力を供給するバツ
クアツプ電源と、前記2次電源の出力電圧が低下
したことを検出して検出信号を出力する電圧検出
回路と、該電圧検出回路からの検出信号を受けて
切換制御され前記車載バツテリの電力を所定時間
前記システム電源に直接供給するタイマスイツチ
とを備え、前記マイクロコンピユータは、前記距
離センサから車両が一定距離走行する毎に出力さ
れる距離パルスを計数して走行距離データを算出
すると共に、その走行距離データと前記不揮発性
メモリに記憶されている今までの積算距離データ
とに基づいて車両の新たな積算距離データを算出
する距離計算プログラムを有し、かつ該プログラ
ムに従つて算出された積算距離データをその内容
が更新される毎に前記内部メモリに記憶せしめる
と共に、前記電圧検出回路からの検出信号を受け
たときに前記内部メモリに記憶されている積算距
離データを前記不揮発性メモリに移し換えて記憶
せしめる制御を行なう構成としたものである。
(Means for solving the problem) Therefore, the electronic odometer of this invention consists of a distance sensor, a microcomputer, a non-volatile memory, and receives power from the on-vehicle battery obtained through a power switch. A secondary power source consisting of a capacitor, a secondary battery, etc. that is charged when the power switch is turned on, and power from the vehicle battery obtained through the power switch are received to supply operating power to the microcomputer and nonvolatile memory. a system power supply for supplying operating power to the internal memory of the microcomputer; a voltage detection circuit that detects that the output voltage has decreased and outputs a detection signal; and a timer that is switched and controlled in response to the detection signal from the voltage detection circuit and directly supplies power from the on-vehicle battery to the system power supply for a predetermined period of time. and a switch, the microcomputer counts distance pulses output from the distance sensor every time the vehicle travels a certain distance to calculate travel distance data, and stores the travel distance data and the nonvolatile memory. It has a distance calculation program that calculates new cumulative distance data of the vehicle based on the previous cumulative distance data, and the cumulative distance data calculated according to the program is updated every time the content is updated. The integrated distance data stored in the internal memory is controlled to be stored in the internal memory, and the cumulative distance data stored in the internal memory is transferred and stored in the nonvolatile memory when a detection signal from the voltage detection circuit is received. It is something.

(作用) このような構成によれば、電源スイツチがオン
され通常に走行しているときには、マイコンはそ
の距離計算プログラムに従つて距離センサから車
両が一定距離走行する毎に出力される距離パルス
を計数して走行距離データを算出すると共に、そ
の走行距離データと前記マイコンの内部メモリに
記憶されている今までの積算距離データとに基づ
いて車両の新たな積算距離データを算出し、かつ
該距離計算プログラムに従つて算出された最新の
積算距離データはその内容が更新される毎に前記
内部メモリに記憶される。なお、この最新の距離
データはマイコンから出力され、例えば表示回路
により表示されるか、又は例えば燃料データ等の
他のデータと共に例えば燃料消費率等の車両情報
を求める基礎データとして用いられることにな
る。
(Function) According to this configuration, when the power switch is turned on and the vehicle is running normally, the microcomputer receives the distance pulse output from the distance sensor every time the vehicle travels a certain distance according to its distance calculation program. In addition to calculating mileage data by counting, new cumulative distance data of the vehicle is calculated based on the mileage data and previous cumulative distance data stored in the internal memory of the microcomputer; The latest cumulative distance data calculated according to the calculation program is stored in the internal memory each time its contents are updated. Note that this latest distance data is output from the microcomputer and is displayed, for example, by a display circuit, or is used together with other data such as fuel data as basic data for determining vehicle information such as fuel consumption rate. .

さらに、この考案では、マイコンの内部メモリ
は電源スイツチがオフされると、2次電源の充電
電荷を作動電力として受け電源スイツチのオフ後
の所定時間バツクアツプされる構成となつている
ため、電源スイツチのオン状態においてマイコン
の距離計算プログラムに従つて算出された最新の
積算距離データは、電源スイツチがオフされても
しばらくは前記内部メモリに格納され続けられ
る。そして、その後2次電源の出力電力が所定値
以下になり電圧検出回路から検出信号が出力され
ると、タイマスイツチはその検出信号を受けマイ
コンに所定時間作動電力を供給し、その間マイコ
ンはその内部メモリに格納されている積算距離デ
ータを不揮発性メモリに退避させ、これにより最
新の積算距離データは電源なしで保存される。
Furthermore, in this invention, when the power switch is turned off, the internal memory of the microcontroller receives the charge from the secondary power source as operating power and is backed up for a predetermined period of time after the power switch is turned off. The latest accumulated distance data calculated according to the distance calculation program of the microcomputer in the ON state continues to be stored in the internal memory for a while even when the power switch is turned off. Then, when the output power of the secondary power supply becomes less than a predetermined value and a detection signal is output from the voltage detection circuit, the timer switch receives the detection signal and supplies operating power to the microcomputer for a predetermined period of time. The accumulated distance data stored in the memory is saved to a non-volatile memory, so that the latest accumulated distance data can be saved without a power source.

(実施例) 以下、この考案を図面に基づいて説明する。(Example) This invention will be explained below based on the drawings.

第1図は、この考案の一実施例を示す図であ
る。まず構成を説明するが、この実施例における
構造と従来例(第2図)で示した構造との同一部
分は、従来例で引用した符号を付して、その詳細
な説明を省略する。
FIG. 1 is a diagram showing an embodiment of this invention. First, the configuration will be explained. The same parts between the structure of this embodiment and the structure shown in the conventional example (FIG. 2) are given the same reference numerals as in the conventional example, and detailed explanation thereof will be omitted.

図において、符号12で示した大容量コンデン
サは、この考案の2次電源を構成とするもので、
この大容量コンデンサ12は、この考案の電源ス
イツチを構成するイグニツシヨンスイツチ9及び
逆流防止用ダイオード13を介して車載バツテリ
8に接続されており、該イグニツシヨンスイツチ
9のオン時(車載発電装置の稼動時)に充電され
る。また、14はバツクアツプ電源用ボルテージ
レギユレータであつて、このバツクアツプ電源用
ボルテージレギユレータ14は、前記大容量コン
デンサ12に接続されており、前記イグニツシヨ
ンスイツチ9がオフされたときに、該大容量コン
デンサ12の充電電荷の供給を受けてこの考案の
マイコン2の内部メモリを構成するトリツプ用
RAM21及びオド用RAM22にしばらくの間
作動電力を供給するものである。なお、この大容
量コンデンサ12の出力電圧に基づくトリツプ用
及びオド用RAM21,22のバツクアツプは、
可能な限り長い時間行なうことにより、この考案
の効果である不揮発性メモリの書き換え回数の低
減がより発揮されることになる。
In the figure, the large-capacity capacitor designated by numeral 12 constitutes the secondary power supply of this invention.
This large-capacity capacitor 12 is connected to the vehicle battery 8 via the ignition switch 9 and backflow prevention diode 13 that constitute the power switch of this invention. (when the device is in operation). Further, 14 is a voltage regulator for backup power supply, which is connected to the large capacity capacitor 12, and when the ignition switch 9 is turned off, A trip circuit that receives the charge from the large-capacity capacitor 12 and configures the internal memory of the microcomputer 2 of this invention.
It supplies operating power to the RAM 21 and the odo RAM 22 for a while. Note that the backup of the trip and odd RAMs 21 and 22 based on the output voltage of the large capacity capacitor 12 is as follows.
By performing this for as long as possible, the effect of this invention, which is the reduction in the number of times the nonvolatile memory is rewritten, will be more effectively achieved.

一方、15は電圧検出回路であつて、この電圧
検出回路15は、前記大容量コンデンサ12の出
力電圧を検出し、その出力電圧が前記トリツプ用
及びオド用RAM21,22のバツクアツプに必
要なレベル以下になる直前に検出信号を出力す
る。この検出信号は、前記マイコン2に対しては
メモリ・リクエスト信号として、また後述のタイ
マスイツチ16に対してはタイマ動作開始信号と
して供給される。16はタイマスイツチであつ
て、このタイマスイツチ16は、前記電圧検出回
路15からの検出信号を受けて所定時間作動する
タイマと、そのタイマからの出力信号により切換
制御されて前記車載バツテリ8をシステム電源用
ボルテージレギユレータ10に接続するリレー等
のスイツチング素子とからなり、前記検出信号を
受けると所定時間の間システム電源用ボルテージ
レギユレータ10を作動状態に付勢するものであ
る。なお、このタイマスイツチ16によるタイマ
時間(前記所定時間)は、少なくとも前記マイコ
ン2のトリツプ用及びオド用RAM21,22内
に記憶されている積算距離データをトリツプ用及
びオド用不揮発性メモリ3,4の夫々に移し換え
るのに必要な時間以上に設定されている。また、
17は逆流防止用ダイオードである。
On the other hand, 15 is a voltage detection circuit which detects the output voltage of the large capacity capacitor 12 and determines whether the output voltage is below the level required for backing up the trip and odd RAMs 21 and 22. A detection signal is output just before the This detection signal is supplied to the microcomputer 2 as a memory request signal, and to the timer switch 16 (described later) as a timer operation start signal. Reference numeral 16 denotes a timer switch. The timer switch 16 includes a timer that operates for a predetermined period of time in response to a detection signal from the voltage detection circuit 15, and is switched and controlled by an output signal from the timer to operate the vehicle battery 8 in the system. It consists of a switching element such as a relay connected to the power supply voltage regulator 10, and upon receiving the detection signal, energizes the system power supply voltage regulator 10 into an operating state for a predetermined period of time. Note that the timer time (the predetermined time) set by the timer switch 16 is such that at least the accumulated distance data stored in the trip and adjustment RAMs 21 and 22 of the microcomputer 2 is stored in the trip and adjustment non-volatile memories 3 and 4. The time is set to be longer than the time required to transfer to each. Also,
17 is a backflow prevention diode.

次に、かかる構成からなるこの実施例の作用を
説明すると、イグニツシヨンスイツチ9がオンさ
れ車両が走行しているときには、システム電源用
ボルテージレギユレータ10が作動し、距離セン
サ1、マイコン(トリツプ用及びオド用RAM2
1,22も含む)2、トリツプ用不揮発性メモリ
3、オド用不揮発性メモリ4、リセツトパルス発
生回路5及び表示回路7に作動電力(システム電
源)が印加されており、このときマイコン2は、
その距離計算プログラムに従つて距離センサ1か
ら車両が一定距離走行する毎に出力される距離パ
ルスを計数して走行距離データを算出すると共
に、その走行距離データとマイコン2のトリツプ
用及びオド用RAM21,22に夫々記憶されて
いる今までのトリツプデータ及びオドデータとに
基づいて車両の新たなトリツプデータ及びオドデ
ータを算出する。そして、上述のように、距離計
算プログラムに従つて算出された最新のトリツプ
データ及びオドデータはその内容が更新される毎
にトリツプ用及びオド用RAM21,22に夫々
記憶されると共に、表示回路7に供給され数値表
示される。
Next, the operation of this embodiment having such a configuration will be explained. When the ignition switch 9 is turned on and the vehicle is running, the system power supply voltage regulator 10 is activated, and the distance sensor 1 and the microcomputer ( RAM2 for trip and odometer
1 and 22) 2, non-volatile memory 3 for trip, non-volatile memory 4 for reset, reset pulse generation circuit 5, and display circuit 7. Operating power (system power supply) is applied to the microcomputer 2.
According to the distance calculation program, the distance pulses outputted from the distance sensor 1 every time the vehicle travels a certain distance are counted to calculate the distance data, and the trip distance data and the trip and odometer RAM 21 of the microcomputer 2 are , 22, respectively, to calculate new trip data and odometer data of the vehicle. As mentioned above, the latest trip data and odometer data calculated according to the distance calculation program are stored in the trip and odometer RAMs 21 and 22, respectively, each time their contents are updated, and are also supplied to the display circuit 7. displayed numerically.

また、イグニツシヨンスイツチ9がオフされる
と、システム電源用ボルテージレギユレータ10
は非作動状態となるが、バツクアツプ電源用ボル
テージレギユレータ14は大容量コンデンサ12
の充電電荷を受けてイグニツシヨンスイツチ9の
オフ後の所定時間作動し、マイコン2のトリツプ
用及びオド用RAM21,22に作動電力を供給
することになる。そのため、イグニツシヨンスイ
ツチ9のオフ直前のトリツプデータ及びオドデー
タは、イグニツシヨンスイツチ9がオフされても
直にはトリツプ用及びオド用不揮発性メモリ3,
4に移し換えられることがなく、イグニツシヨン
スイツチ9のオフ後もしばらくの間は、マイコン
2のトリツプ用及びオド用RAM21,22に記
憶保持されることになる。そして、その後大容量
コンデンサ12の出力電圧がトリツプ用及びオド
用RAM21,22のバツクアツプに必要なレベ
ルになる前に再度イグニツシヨンスイツチ9がオ
ンされれば上述の如き通常の動作モードに戻るこ
とになる。しかしながら、イグニツシヨンスイツ
チ9をオフしてから比較的長い時間が経過する
と、大容量コンデンサ12の出力電圧がトリツプ
用及びオド用RAM21,22をバツクアツプで
きないレベルに低下することになるが、そのとき
には、電圧検出回路15からの検出信号がタイマ
スイツチ16とマイコン2に出力され、これによ
りタイマスイツチ16はシステム電源用ボルテー
ジレギユレータ10を介してマイコン2に所定時
間作動電力が供給されるようにタイマ動作を開始
し、またマイコン2はその間にトリツプ用及びオ
ド用メモリ21,22に格納されているトリツプ
データ及びオドデータをトリツプ用及びオド用不
揮発性メモリ3,4に夫々退避させる。これによ
り、イグニツシヨンスイツチ9のオフ直前のトリ
ツプデータ及びオドデータは電源なしで保持され
ることになる。
Furthermore, when the ignition switch 9 is turned off, the system power supply voltage regulator 10
is inactive, but the backup power supply voltage regulator 14 is connected to the large capacity capacitor 12.
It operates for a predetermined period of time after the ignition switch 9 is turned off in response to the charged charge, and supplies operating power to the trip and reset RAMs 21 and 22 of the microcomputer 2. Therefore, even if the ignition switch 9 is turned off, the trip data and odometer data immediately before the ignition switch 9 is turned off are stored in the trip and odometer nonvolatile memory 3.
4, and will remain stored in the trip and reset RAMs 21 and 22 of the microcomputer 2 for a while after the ignition switch 9 is turned off. Then, if the ignition switch 9 is turned on again before the output voltage of the large-capacity capacitor 12 reaches the level necessary for backing up the trip and output RAMs 21 and 22, the normal operation mode as described above can be returned. become. However, if a relatively long period of time has passed after the ignition switch 9 is turned off, the output voltage of the large capacitor 12 will drop to a level that makes it impossible to back up the trip and reset RAMs 21 and 22; , the detection signal from the voltage detection circuit 15 is output to the timer switch 16 and the microcomputer 2, so that the timer switch 16 supplies operating power to the microcomputer 2 for a predetermined time via the system power supply voltage regulator 10. The microcomputer 2 starts the timer operation, and during that time, the microcomputer 2 saves the trip data and odd data stored in the trip and odd memories 21 and 22 to the trip and odd nonvolatile memories 3 and 4, respectively. As a result, the trip data and odd data immediately before the ignition switch 9 was turned off are held without power.

なお、トリツプ用不揮発性メモリ3及びオド用
不揮発性メモリ4に夫々格納されたトリツプデー
タ及びオドデータは、再度イグニツシヨンスイツ
チ9がオンされた時点にマイコン2のトリツプ用
RAM21及びオド用RAM22に夫々読み出さ
れることになる。
The trip data and odometer data stored in the trip nonvolatile memory 3 and the odometer nonvolatile memory 4, respectively, are stored in the trip data of the microcomputer 2 when the ignition switch 9 is turned on again.
The data will be read out to the RAM 21 and the odo RAM 22, respectively.

なお、上記実施例では、積算距離データとして
トリツプデータとオドデータの2つを扱う場合に
つい説明したが、いずれか一方のデータのみを扱
う場合、又は複数のトリツプデータを扱う場合で
も良いことは言うまでもない。また、上記実施例
では、電圧検出回路15は大容量コンデンサ12
の出力電圧を直接検出するようにしたが、バツク
アツプ電源用ボルテージレギユレータ14の出力
電圧を検出することにより大容量コンデンサ12
の出力電圧を間接的に検出するようにしてもよい
ことも言うまでもない。
In the above embodiment, a case has been described in which trip data and odometer data are handled as cumulative distance data, but it goes without saying that it is also possible to handle only one of the data or a plurality of trip data. Further, in the above embodiment, the voltage detection circuit 15 includes the large capacity capacitor 12.
However, by detecting the output voltage of the voltage regulator 14 for backup power supply, the large capacity capacitor 12
It goes without saying that the output voltage may be detected indirectly.

(考案の効果) 以上説明してきたように、この考案によれば、
積算距離データ記憶用の不揮発性メモリの書き換
えを、電源スイツチを一旦オフしてから再度オン
するまでの時間が比較的長い場合のみに行なわれ
るような構成としたため、従来例のように、不揮
発性メモリの書き換えを電源スイツチをオフする
毎に行なう場合に比べ不揮発性メモリの書き換え
回数をかなり少なくできるため、不揮発性メモリ
の寿命を延ばすことができ、これにより信頼性及
び耐久性に優れた電子式走行距離計を提供できる
という効果が得られる。
(Effects of the invention) As explained above, according to this invention,
The non-volatile memory for storing cumulative distance data is rewritten only when the time between turning off the power switch and turning it on again is relatively long. Compared to rewriting the memory every time the power switch is turned off, the number of times the nonvolatile memory is rewritten can be significantly reduced, extending the life of the nonvolatile memory. This has the advantage of being able to provide an odometer.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの考案からなる電子式走行距離計の
一実施例を示した概略ブロツク図、第2図は従来
における電子式走行距離計の一例を示した概略ブ
ロツク図である。 1……距離センサ、2……マイクロコンピユー
タ、3,4……不揮発性メモリ、8……車載バツ
テリ、9……イグニツシヨンスイツチ、10……
システム電源用ボルテージレギユレータ、12…
…大容量コンデンサ、14……バツクアツプ電源
用ボルテージレギユレータ、15……電圧検出回
路、16……タイマスイツチ、21,22……マ
イコン内部メモリ。
FIG. 1 is a schematic block diagram showing one embodiment of an electronic odometer according to this invention, and FIG. 2 is a schematic block diagram showing an example of a conventional electronic odometer. 1...Distance sensor, 2...Microcomputer, 3, 4...Nonvolatile memory, 8...Vehicle battery, 9...Ignition switch, 10...
Voltage regulator for system power supply, 12...
...Large capacity capacitor, 14... Voltage regulator for backup power supply, 15... Voltage detection circuit, 16... Timer switch, 21, 22... Microcomputer internal memory.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 距離センサ1と、マイクロコンピユータ2と、
不揮発性メモリ3,4と、電源スイツチ9を介し
て得られる車載バツテリ8からの電力を受け該電
源スイツチ9のオン時に充電される2次電源12
と、前記電源スイツチ9を介して得られる前記車
載バツテリ8からの電力を受け前記マイクロコン
ピユータ2及び不揮発性メモリ3,4に作動電力
を供給するシステム電源10と、前記電源スイツ
チ9を介して得られる前記車載バツテリ8からの
電力又は前記2次電源12からの電力を受け前記
マイクロコンピユータ2の内部メモリ21,22
に作動電力を供給するバツクアツプ電源14と、
前記2次電源12の出力電圧が低下したことを検
出して検出信号を出力する電圧検出回路15と、
該電圧検出回路15からの検出信号を受けて切換
制御され前記車載バツテリ8の電力を所定時間前
記システム電源10に直接供給するタイマスイツ
チ16とを備え、前記マイクロコンピユータ2
は、前記距離センサ1から車両が一定距離走行す
る毎に出力される距離パルスを計数して走行距離
データを算出すると共に、その走行距離データと
前記不揮発性メモリ3,4に記憶されている今ま
での積算距離データとに基づいて車両の新たな積
算距離データを算出する距離計算プログラムを有
し、かつ該プログラムに従つて算出された積算距
離データをその内容が更新される毎に前記内部メ
モリ21,22に記憶せしめると共に、前記電圧
検出回路15からの検出信号を受けたときに前記
内部メモリ21,22に記憶されている積算距離
データを前記不揮発性メモリ3,4に移し換えて
記憶せしめる制御を行なうことを特徴とする電子
式走行距離計。
A distance sensor 1, a microcomputer 2,
A secondary power source 12 receives power from the non-volatile memories 3 and 4 and an on-vehicle battery 8 obtained through a power switch 9 and is charged when the power switch 9 is turned on.
, a system power supply 10 that receives power from the on-vehicle battery 8 obtained via the power switch 9 and supplies operating power to the microcomputer 2 and nonvolatile memories 3 and 4; The internal memories 21 and 22 of the microcomputer 2 receive power from the on-vehicle battery 8 or power from the secondary power source 12.
a backup power supply 14 that supplies operating power to the
a voltage detection circuit 15 that detects a decrease in the output voltage of the secondary power source 12 and outputs a detection signal;
a timer switch 16 which is switched and controlled in response to a detection signal from the voltage detection circuit 15 and directly supplies power from the on-vehicle battery 8 to the system power supply 10 for a predetermined period of time;
calculates mileage data by counting the distance pulses output from the distance sensor 1 every time the vehicle travels a certain distance, and calculates the mileage data and the current data stored in the non-volatile memories 3 and 4. It has a distance calculation program that calculates new cumulative distance data of the vehicle based on the cumulative distance data of the vehicle, and stores the cumulative distance data calculated according to the program in the internal memory every time its contents are updated. 21, 22, and when receiving the detection signal from the voltage detection circuit 15, transfers the accumulated distance data stored in the internal memories 21, 22 to the nonvolatile memories 3, 4 and stores them therein. An electronic odometer characterized by control.
JP5739285U 1985-04-19 1985-04-19 Expired JPH0220644Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5739285U JPH0220644Y2 (en) 1985-04-19 1985-04-19

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5739285U JPH0220644Y2 (en) 1985-04-19 1985-04-19

Publications (2)

Publication Number Publication Date
JPS61174621U JPS61174621U (en) 1986-10-30
JPH0220644Y2 true JPH0220644Y2 (en) 1990-06-05

Family

ID=30581875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5739285U Expired JPH0220644Y2 (en) 1985-04-19 1985-04-19

Country Status (1)

Country Link
JP (1) JPH0220644Y2 (en)

Also Published As

Publication number Publication date
JPS61174621U (en) 1986-10-30

Similar Documents

Publication Publication Date Title
US8406951B2 (en) Electronic control system for vehicles
US4335434A (en) Electronically controlled franking machine
JPS58221120A (en) Trip computer
US6169942B1 (en) Process for determining the time elapsed between stopping a motor vehicle engine and restarting the engine.
EP0973170B1 (en) Apparatus and method for controlling electric power supply in nonvolatile memory rewriting operation
EP0190141A1 (en) Hourmeter apparatus and method.
JPH0220644Y2 (en)
US5046029A (en) Electronic odo/trip meter for automobiles
WO2018079537A1 (en) Electronic control unit and data protection method therefor
JPH0220643Y2 (en)
JPH10161941A (en) Flash memory rewriting device of controller for vehicle
JPH06249673A (en) Electronic distance integrating device
JP3190609B2 (en) Automotive circuit device having electrically rewritable nonvolatile memory
JP3903923B2 (en) Control system and charge control system
JP4107046B2 (en) Mileage accumulator
US20210294520A1 (en) Vehicle data recording device
JPS59135312A (en) Running distance meter for vehicle
JPS5910808A (en) Odometer for automobile
JPH0149883B2 (en)
JP2853441B2 (en) Lubrication device
JPH11122828A (en) Battery controller
JP2804939B2 (en) Vehicle mileage recording device
JPH07132801A (en) Maintenance memory device
JP2872031B2 (en) Electronic odometer
JP3102461B2 (en) In-vehicle clock device and time processing method thereof