JPS6046411A - Integrating device - Google Patents

Integrating device

Info

Publication number
JPS6046411A
JPS6046411A JP15436983A JP15436983A JPS6046411A JP S6046411 A JPS6046411 A JP S6046411A JP 15436983 A JP15436983 A JP 15436983A JP 15436983 A JP15436983 A JP 15436983A JP S6046411 A JPS6046411 A JP S6046411A
Authority
JP
Japan
Prior art keywords
memory
data
power
supplied
terminal
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.)
Pending
Application number
JP15436983A
Other languages
Japanese (ja)
Inventor
Shinichi Yuga
信一 柚賀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jeco Corp
Original Assignee
Jeco Corp
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 by Jeco Corp filed Critical Jeco Corp
Priority to JP15436983A priority Critical patent/JPS6046411A/en
Publication of JPS6046411A publication Critical patent/JPS6046411A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers

Abstract

PURPOSE:To eliminate the need for a backup battery by storing ROM with data integrated so far when electric power is not supplied any more. CONSTITUTION:When a power switch 2 is turned on, a control part 42 transfers the contents of EEPROM (ROM where integrated data is readable and writable) 5 to a memory 43. A counter 41 counts the time at specific intervals of time, and the count result and the contents of the memory 43 are added together by an adding circuit 44, whose result is stored in the memory 43 and also displayed on a display device 6. When the power switch 2 is turned off and the output of a power source circuit 3 decreases to a specific value, an output signal appears at a terminal 3c to allow an interruption to the control part 42. The control part 42 writes the data from the memory 43 in EEPROM5 before the voltage supplied to a terminal 42a drops to the 2nd specific value.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は機器動作中のデータの加算を行なう積算装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an integrating device that adds data during device operation.

〔従来技術〕[Prior art]

一般にデータの積算を行なう要求は多く、例えば自動車
の距離計や作業機の動作時間計等、各所に使用されてい
る。これらの装置は従来メカニカルカウンタによって構
成されていたが、近年は小形化および経済性を良くする
ために電子化される傾向にある。この場合、電源断の時
も積算データを記憶しておく必要かあるために、通常は
バッテリでバックアップしたRAMを使用し、データを
記憶している。
Generally, there are many demands for data integration, and they are used in various applications such as automobile distance meters and working machine operating time meters. These devices have traditionally been constructed of mechanical counters, but in recent years there has been a trend towards electronic counters in order to make them smaller and more economical. In this case, since it is necessary to store the integrated data even when the power is turned off, a RAM backed up by a battery is normally used to store the data.

しかしながら、バックアップ用のバッテリは補助用の電
源であるため保守がルーズになシ易く、定期的な交換を
忘れると容量がなくなp、RAMのデータが消失してし
まい、積算動作が行なえなくなってしまうという欠点を
有していた。
However, since the backup battery is an auxiliary power source, it is easy to maintain it loosely, and if you forget to replace it regularly, it will run out of capacity and the data in RAM will be lost, making it impossible to perform integration operations. It had the disadvantage of being stored away.

〔発明の目的および構成〕[Object and structure of the invention]

したがってこの発明の目的は、バックアップ用バッテリ
の不要な積算装置を提供することにある。
Therefore, an object of the present invention is to provide an integration device that does not require a backup battery.

このような目的を達成するためにこの発明は、電源が供
給されなくなった時に+まで積算していたデータを書込
み読出し可能なROM (以下EEP −ROMと称す
る)に記憶させるようにしたものである。以下、実施例
を示す図面を用いてこの発明の詳細な説明する。
In order to achieve such an object, the present invention stores data accumulated up to + when power is no longer supplied in a writable and readable ROM (hereinafter referred to as EEP-ROM). . Hereinafter, the present invention will be described in detail using drawings showing embodiments.

〔実施例〕〔Example〕

第1図はこの発明を用いて構成した積算時間計の一実施
例を示すブロック図である。同図において、1は電池、
2はイグニッションスイッチ、3は電源回路、4は制御
回路、5はEEPROM% 6は表示器である。電源回
路3は端子3&に電源が供給されている時、端子3bか
ら16ボルトの電圧を送出し、端子3aに供給された電
源が断となった後は第2図に示すように出力電圧が低下
するようKなっている。そして、端子3bから送出され
る電圧が8ボルト以下になシ、5ポルトに達するまでの
間は端子3cから電源断の信号を発生するようkなって
おシ、マた電圧が8ボルトから5ボルトに達するまでの
時間Tは500ミリ秒以上となるように構成されている
FIG. 1 is a block diagram showing an embodiment of an integrating time meter constructed using the present invention. In the figure, 1 is a battery;
2 is an ignition switch, 3 is a power supply circuit, 4 is a control circuit, 5 is an EEPROM%, and 6 is a display. The power supply circuit 3 sends out a voltage of 16 volts from the terminal 3b when power is supplied to the terminal 3&, and after the power supplied to the terminal 3a is cut off, the output voltage changes as shown in FIG. K is set to decrease. If the voltage sent from terminal 3b does not exceed 8 volts, a power-off signal is generated from terminal 3c until the voltage reaches 5 volts. The time T required to reach the bolt is configured to be 500 milliseconds or more.

制御回路4はカウンタ41、制御部42、メモリ43、
加算回路44から構成されておシ、制御部42は端子4
2aK電源が供給された時にEEP −ROM5のデー
タをメモリ43に記憶させてカウンタ41のカウントを
開始させる。そして、カウンタ41のカウントが進行す
る度にそのデータとメモリ43のデータを加算回路44
で加算し、加算結果を表示器6に供給して表示し、メモ
リ43に供給してデータ書換を行なうようになっている
The control circuit 4 includes a counter 41, a control section 42, a memory 43,
The control section 42 is composed of an adder circuit 44 and a terminal 4.
When the 2aK power is supplied, the data in the EEP-ROM 5 is stored in the memory 43 and the counter 41 starts counting. Then, each time the count of the counter 41 progresses, the adding circuit 44 adds the data and the data of the memory 43.
, the addition result is supplied to the display 6 for display, and is supplied to the memory 43 for data rewriting.

なお、カウンタ41は時間カウントを行なうようになっ
ている。また制御部42は端子42b K信号が供給さ
れた時はメモリ43のデータをEEFROM5に書込む
ようになっている。
Note that the counter 41 is designed to count time. Further, the control section 42 writes the data in the memory 43 to the EEFROM 5 when the terminal 42b K signal is supplied.

このように構成された装置の動作を第3図に示すフロー
チャートを使用して説明する。先ずスイッチ2をオンに
すると、制御部42の端子42aに電源が供給されるの
で、制御部42はステップ1o。
The operation of the apparatus configured as described above will be explained using the flowchart shown in FIG. First, when the switch 2 is turned on, power is supplied to the terminal 42a of the control section 42, so the control section 42 goes to step 1o.

に示すようにEEPROM 5のデータをメモリ43に
転送する処理を行なう。そしてこのデータはステップ1
01に示すように表示器6に供給されて表示される。ま
たステップ102に示すようにEEFROM5のデータ
が消去される。
As shown in FIG. 3, data in the EEPROM 5 is transferred to the memory 43. And this data is used in step 1
The signal is supplied to the display 6 and displayed as shown at 01. Further, as shown in step 102, the data in the EEFROM 5 is erased.

その後、ステップ103に示すようにカウンタ41の時
間カウントが1カウント進行すると、ステップ104に
示すようにカウント結果とメモリ43のデータが加算回
路44で加算される。そして、加算結果はステップ10
5に示すようにメモリ43に書込まれた後、表示器6に
供給されステップ106に示すように表示が行なわれ、
フローはステップ103に戻る。
Thereafter, when the time count of the counter 41 advances by one count as shown in step 103, the count result and the data in the memory 43 are added together in the adder circuit 44 as shown in step 104. Then, the addition result is step 10
After being written into the memory 43 as shown in step 5, it is supplied to the display 6 and displayed as shown in step 106.
Flow returns to step 103.

その後、フローはステップ103〜106を循環し、時
間カウントが進行する度に各データが更新され、積算が
行なわれる。そして、スイッチ2が断になると、電源回
路3の出力電圧は第2図に示すように低下し、この電圧
が8ポル)1で低下すると電源回路3は端子3cから出
力信号を発生し、制御部42に供給するので、制御部4
2は第3図(b)に示すような割込み動作を行ない、端
子421に供給される電圧が5ポル)Kなるまでの50
0ミリ秒の期間にステップ107に示すようにメモリ4
3のデータをEEFROM5に書込む。
Thereafter, the flow cycles through steps 103 to 106, and each data is updated and integrated each time the time count progresses. When the switch 2 is turned off, the output voltage of the power supply circuit 3 decreases as shown in FIG. Since the control unit 42 is supplied with the
2 performs an interrupt operation as shown in FIG.
Memory 4 as shown in step 107 for a period of 0 milliseconds.
Write the data of 3 to EEFROM5.

との結果、機器動作中に積算されたデータはスイッチ2
をオフにした後もEEFROM 5に記憶され保持され
る。そしてスイッチ2が再びオンとなった時、EEFR
OM5に記憶されたデータはステップ100に示すよう
に読出されるので、電源断の時にバッテリバックアップ
することなくデータの保持が行なえる。
As a result, the data accumulated during device operation is transferred to switch 2.
It is stored and retained in the EEFROM 5 even after it is turned off. And when switch 2 is turned on again, EEFR
Since the data stored in OM5 is read out as shown in step 100, the data can be retained without battery backup when the power is turned off.

EEPRQMは消去および書込が約1万回行なえるとさ
れている。このため第1図のようなアワーメータを自動
車に搭載して、エンジンの始動、停止が1日に3回行な
われたとしても、電源のオンオフは1年に約1000回
であるから10年近くの期間とのEEFROMは使用で
きることになシ、実用上は十分の値である。
It is said that EEPRQM can be erased and written approximately 10,000 times. For this reason, even if an hour meter as shown in Figure 1 is installed in a car and the engine is started and stopped three times a day, the power will be turned on and off approximately 1,000 times a year, so it will last for nearly 10 years. Since the EEFROM can be used for a period of , this value is sufficient for practical use.

なお、以上の実施例は積算時間計について説明したが、
これに限・定されず、距離計その他、積算の必要がある
もの全てに適用するこ迭ができる。
In addition, although the above embodiment described the integrating time meter,
The present invention is not limited to this, but can be applied to distance meters and anything else that requires integration.

〔発明の効果〕〔Effect of the invention〕

以上説明したようにこの発明に係る装置は電源断の時に
それまでの積算データをEEPROMに書込んでいるた
め、電源が断の時も積算データをバックアツブすること
なく保持でき、バックアップ用電池の保守が不要になる
という効果を有する。
As explained above, since the device according to the present invention writes the accumulated data up to that point in the EEPROM when the power is cut off, the accumulated data can be retained without backing up even when the power is cut off, and maintenance of the backup battery is possible. This has the effect that it becomes unnecessary.

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

第1図はとの発明を適用して構成したアワーメータのブ
ロック図、第2図は第1図における電源回路の出力電圧
特性を示すグラフ、第3図は第1図に示す装置のフロー
チャートである。 3・・・・電源回路、4・・・・制御回路、5争・拳−
EEPROM% 6 ”拳Q・表示器、41・・・・カ
ウンタ、42・・・・制御部、43・・・・メモリ、4
4・・・・加算回路。 特許出願人 ジエコー株式会社 代理人 山川政調(ほか1名) 第1図 第2図 一ロクー 第3図 +01 (b1
Fig. 1 is a block diagram of an hour meter constructed by applying Hato's invention, Fig. 2 is a graph showing the output voltage characteristics of the power supply circuit in Fig. 1, and Fig. 3 is a flowchart of the device shown in Fig. 1. be. 3...power supply circuit, 4...control circuit, 5.fight/fist-
EEPROM% 6 "Fist Q/Display, 41...Counter, 42...Control unit, 43...Memory, 4
4...Addition circuit. Patent Applicant G-Eco Co., Ltd. Agent Policy Researcher Yamakawa (and 1 other person) Figure 1 Figure 2 Figure 3 Figure 3 +01 (b1

Claims (1)

【特許請求の範囲】[Claims] 電源が供給されている期間は所定の電圧を発生しており
電源の供給が断となったとき電圧が徐々に低下するとと
もに電源断の信号を発生する電源回路と、書込みおよび
読即し可能なメモリと、電源回路からの電源が供給され
た時には所定信号のカウントを行なうとともに前記メモ
リのデータを読出しこの読出したデータにカウント結果
を加算して出力し、電源回路からの電源断の信号が供給
された時には加算結果を書込みおよび読出し可能なメモ
リに書込む制御回路とを備えたことを特徴とする積算装
置。
It has a power supply circuit that generates a predetermined voltage while power is being supplied, and when the power supply is cut off, the voltage gradually decreases and generates a power-off signal, and a power supply circuit that can be written and read immediately. When power is supplied from the memory and the power supply circuit, a predetermined signal is counted, the data in the memory is read out, the count result is added to the read data, and the result is output, and a power-off signal is supplied from the power supply circuit. and a control circuit for writing the addition result into a writable and readable memory when the addition is performed.
JP15436983A 1983-08-24 1983-08-24 Integrating device Pending JPS6046411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15436983A JPS6046411A (en) 1983-08-24 1983-08-24 Integrating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15436983A JPS6046411A (en) 1983-08-24 1983-08-24 Integrating device

Publications (1)

Publication Number Publication Date
JPS6046411A true JPS6046411A (en) 1985-03-13

Family

ID=15582650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15436983A Pending JPS6046411A (en) 1983-08-24 1983-08-24 Integrating device

Country Status (1)

Country Link
JP (1) JPS6046411A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5084667A (en) * 1985-07-26 1992-01-28 Xicor, Inc. Nonvolatile nonlinear programmable electronic potentiometer
US6331768B1 (en) 2000-06-13 2001-12-18 Xicor, Inc. High-resolution, high-precision solid-state potentiometer
CN103791915A (en) * 2014-02-12 2014-05-14 清华大学 Bluetooth connection-supported pedometer device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5084667A (en) * 1985-07-26 1992-01-28 Xicor, Inc. Nonvolatile nonlinear programmable electronic potentiometer
US6331768B1 (en) 2000-06-13 2001-12-18 Xicor, Inc. High-resolution, high-precision solid-state potentiometer
US6555996B2 (en) 2000-06-13 2003-04-29 Xicor, Inc. High-resolution, high-precision solid-state potentiometer
CN103791915A (en) * 2014-02-12 2014-05-14 清华大学 Bluetooth connection-supported pedometer device

Similar Documents

Publication Publication Date Title
CA1239024A (en) Programmable service reminder apparatus and method
JPS59196414A (en) Electronic odometer
JP3057340B2 (en) Electronic clock
JPS6046411A (en) Integrating device
JPH01152311A (en) Electronic type odo/tripmeter for vehicle
JPS6282600A (en) Memory device capable of electrically erasing and writing
JPH0459645B2 (en)
JPH0150926B2 (en)
JP4049286B2 (en) Method and apparatus for protecting vehicle-mounted electronic device stored data file
JP2906737B2 (en) Data evacuation method
JPS5910808A (en) Odometer for automobile
JPS60138657A (en) Data holding device
JP3053270B2 (en) Power supply backup method and device
JPH0436617A (en) Hour meter for construction machine
JPS6059597A (en) Circuit for preventing writing of error data in eeprom
JPH0816480A (en) Memory card
JPS61188612A (en) Memory backup supervising system
JPH05215567A (en) Electronic travel distance meter
JPS6219687B2 (en)
JP3102461B2 (en) In-vehicle clock device and time processing method thereof
JPH01158314A (en) Electronic measuring instrument
JPH01304314A (en) Electronic odometer
JPS6013240B2 (en) Mobility memory device for mobile objects
JPH0562895U (en) Date clock device
JPS63268058A (en) Microcomputer