Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0761006B2 - Data recording system for operation recorder - Google Patents
[go: Go Back, main page]

JPH0761006B2 - Data recording system for operation recorder - Google Patents

Data recording system for operation recorder

Info

Publication number
JPH0761006B2
JPH0761006B2 JP18308386A JP18308386A JPH0761006B2 JP H0761006 B2 JPH0761006 B2 JP H0761006B2 JP 18308386 A JP18308386 A JP 18308386A JP 18308386 A JP18308386 A JP 18308386A JP H0761006 B2 JPH0761006 B2 JP H0761006B2
Authority
JP
Japan
Prior art keywords
pulse signal
circuit
input
dummy pulse
exclusive
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 - Lifetime
Application number
JP18308386A
Other languages
Japanese (ja)
Other versions
JPS6345917A (en
Inventor
達也 古川
祥二 戸澤
Original Assignee
新キャタピラ−三菱株式会社
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 新キャタピラ−三菱株式会社 filed Critical 新キャタピラ−三菱株式会社
Priority to JP18308386A priority Critical patent/JPH0761006B2/en
Publication of JPS6345917A publication Critical patent/JPS6345917A/en
Publication of JPH0761006B2 publication Critical patent/JPH0761006B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention 【産業上の利用分野】[Industrial applications]

この発明は、センサから検出されたパルス信号を入力し
てカウントすると共に、直前にカウントした信号数を入
力クロックに同期して出力するカウント回路を有する稼
働記録装置のデータカウントシステムの改良に関する。
The present invention relates to an improvement of a data counting system of an operation recording apparatus having a counting circuit for inputting and counting a pulse signal detected from a sensor and outputting the number of signals counted immediately before in synchronization with an input clock.

【従来の技術】[Prior art]

INTEL8253等のカウンタの如く、センサから入力したパ
ルス信号をカウントすると同時に、直前のカウント値を
入力クロックに同期して書込及びクリアするカウント回
路において、稼働機械が停止した場合には、パルス信号
の入力がなくカウント値が0になって直前に入力された
稼働データのカウント値が初期化(書込)まれず残留し
てしまい、正しいカウント数を読み出すことができな
い。
Like a counter such as INTEL8253, in the counting circuit that counts the pulse signal input from the sensor and writes and clears the immediately preceding count value in synchronization with the input clock, when the operating machine stops, the pulse signal Since there is no input and the count value becomes 0, the count value of the operation data input immediately before is not initialized (written) and remains, so that the correct count number cannot be read.

【発明が解決しようとする問題点】[Problems to be Solved by the Invention]

この発明は上記事情に鑑みてなされたもので、稼働機械
が停止した場合でも直前のカウント値を初期化(書込)
して正しいカウント数を読み出すことのできるデータカ
ウントシステムを提供することを課題とする。
The present invention has been made in view of the above circumstances, and initializes (writes) the immediately preceding count value even when the operating machine stops.
It is an object of the present invention to provide a data count system capable of reading out a correct count number.

【問題点を解決するための手段】[Means for solving problems]

上記課題達成のため、この発明は、第1図の機能ブロッ
ク図に示す如く、 センサSから検出されたパルス信号を入力してカウント
すると共に、直前にカウントした信号数を入力クロック
に同期して出力するカウント回路4を有する稼働記録装
置5のデータカウントシステムにおいて、 (a).カウント回路4がカウントした信号数を書込及
びクリアする毎にダミーパルス信号を出力するダミーパ
ルス発生手段を設ける、 (b).センサSからのパルス信号と共に上記ダミーパ
ルス信号を入力し排他的論理和を演算してカウント回路
4のクロック端子に出力する排他的論理和回路2を設け
る、 (c).カウント回路4でカウントされて積算された信
号数からダミーパルス信号分を差し引いてメモリへ記憶
させるデータ調整手段3を設ける、 という技術手段を講じたものである。
To achieve the above object, according to the present invention, as shown in the functional block diagram of FIG. 1, a pulse signal detected from a sensor S is input and counted, and the number of signals counted immediately before is synchronized with an input clock. In the data counting system of the operation recording device 5 having the output counting circuit 4, (a). Dummy pulse generating means for outputting a dummy pulse signal each time the number of signals counted by the counting circuit 4 is written and cleared is provided (b). An exclusive OR circuit 2 is provided, which inputs the dummy pulse signal together with the pulse signal from the sensor S, calculates an exclusive OR, and outputs the exclusive OR to the clock terminal of the count circuit 4, (c). The technical means is provided by providing a data adjusting means 3 for subtracting a dummy pulse signal from the number of signals counted and integrated by the counting circuit 4 and storing the result in a memory.

【作 用】[Work]

センサSから検出されたパルス信号がカウント回路4に
入力されてカウントされる。 このカウント値は、次にセンサSから入力されるパルス
信号の入力クロックに同期してメモリ等に新規に書込ま
れる。 この書込と同時にダミーパルス発生手段1からダミーパ
ルス信号が出力される。 このダミーパルス信号は、センサSからのパルス信号と
共に排他的論理和回路2に入力されて排他的論理和が取
られてカウント回路4のクロック端子に入力される。 またカウント回路4でカウントされた信号数からダミー
パルス信号分のパルス数が差し引かれて正確なカウント
数がメモリに記憶される。 従って、稼働機械が停止した場合等でも、直前の出力信
号と共に出力したダミーパルス信号が排他的論理和回路
を介してカウント回路4に入力されるので、それと同期
して直前のカウント値をメモリに出力することができ
る。
The pulse signal detected by the sensor S is input to the counting circuit 4 and counted. This count value is newly written in the memory or the like in synchronization with the input clock of the pulse signal input from the sensor S next. Simultaneously with this writing, the dummy pulse generating means 1 outputs a dummy pulse signal. The dummy pulse signal is input to the exclusive OR circuit 2 together with the pulse signal from the sensor S, the exclusive OR is taken, and the dummy pulse signal is input to the clock terminal of the count circuit 4. In addition, the number of pulses corresponding to the dummy pulse signal is subtracted from the number of signals counted by the counting circuit 4, and an accurate count number is stored in the memory. Therefore, even when the operating machine is stopped, the dummy pulse signal output together with the output signal immediately before is input to the count circuit 4 through the exclusive OR circuit, and the previous count value is stored in the memory in synchronization with it. Can be output.

【実施例】【Example】

以下にこの発明をICカードを用いた車輌用の稼働記録シ
ステムに適用した場合の一実施例を図面に基づいて説明
する。 第1図に示すブロック図は、この実施例のハードウエア
構成を示すもので、8ビットCPUからなるコントロール
部10に、アドレスバス及びデータバスBを介して、キー
ボード41とディスプレイ42とを接続するための第2イン
ターフェイス(PIO)11と、ICカードのカードコンタク
タ43を接続するための第1インターフェイス(PIO)12
と、シリアル通信用のインターフェース(SIO)13と、
車速センサーS1とタコメーターS2と接続し車速及びエン
ジン回転数を測定するためのインターフェース14と、稼
働記録用ソフトウエア等のメモリとして用いるPROM15
と、バックアップメモリやソフトウエア用メモリとして
用いるRAM16と、車載のバッテリでバックアップされる
リアルタイムクロック17と、シリアル通信用インターフ
ェース(CTC)18とからなっている。 上記構成中において、車速及びエンジン回転数を測定す
るためのインターフェース14として、INTEL8253のカウ
ント回路(カウンタ)を用いている。 そして上記カウント回路14には第3図に示す如くデコー
ダ31が接続されており、コントロール部10のダミーパル
ス発生手段1からの制御信号によって後述の各排他的論
理和回路21,22にダミーパルス信号を出力している。 このカウント回路14では、0.5秒毎にスピードセンサーS
1やデジタルタコメータ(エンジン回転数検出センサ
ー)S2から入力したパルス信号をカウントし、更に初期
化(メモリーへの書込)を行っている。 即ち、スピードセンサーS1で検出されたパルス信号は、
スピードデーター入力用フォトカプラ5及びアンプ6を
通り第1の排他的論理和回路21の一方に入力される。 この第1の排他的論理和回路21の他方には、前記ダミー
パルス発生手段1に制御されデコーダ31から上記カウン
ト回路14の書込及びクリアする毎に発信されるダミーパ
ルス信号が入力される。 また、デジタルタコメータS2から送られたパルス信号に
ついても、エンジン回転データ入力用のフォトカプラ7
及びアンプ8を通り第2の排他的論理和回路22の一方に
入力される。 この第2の排他的論理和回路22の他方には、前記と同様
にダミーパルス発生手段1に制御されデコーダ31から上
記カウント回路14の書込及びクリアする毎に発信される
ダミーパルス信号が入力される。 従って、各排他的論理和回路21,22では、それぞれ入力
されるセンサーS1,S2側のパルス信号と、ダミーパルス
発生手段1から入力されるダミーパルス信号とから排他
的論理和を取ってカウント回路14のクロック端子(CLK
0,CLK1)に入力する。 この入力クロックに同期して、前述の如くカウント回路
14で直前にカウントされたカウント値がメモリへ書込ま
れると共に前記ダミーパルス発生手段1によってデコー
ダ31からダミーパルスが各排他的論理和回路21,22へ入
力される。 これによって、センサから検出されたパルス信号の数が
0より大きい場合には常にカウント回路に入力され、ま
た、センサからの検出値が0となった場合でも、直前に
発生したダミーパルスによって書込を行うことができ
る。 このような構成からなっているので、車輌が停止して車
速信号等が変化しない場合には、車速センサはパルス信
号を出力しないが、直前に行われたカウント値の書込及
びクリアによって発生したダミーパルスが出力されるの
で、カウント回路14はパルス信号を入力することがで
き、クロック信号が発生するので直前にカウントした信
号数の計測を行うことができる。 従って、パルス信号の入力がない時は直前にカウントし
たカウント値の書込及びクリアが行われないカウント回
路において、直前のカウント値が残留することがなくリ
アルタイムにカウント値をメモリに書込むことができ
る。 このようにして書込まれるカウント値はダミーパルス信
号の数を含んでいるので、稼働データとして記憶するに
際しては、ダミーパルス信号分の数を減算処理する必要
がある。 そこで、データ調整手段3によって上記処理を行うが、
本実施例では、ソフトウエアによってカウント値からダ
ミーパルス信号分の数を減算処理してメモリ16に記憶さ
せ或いは外部へ出力する。 更に、この発明においては上記構成を採ったことによっ
て、ダミーパルス発生手段1から所定数のダミーパルス
を発生させ、カウント数を確認する(入力したダミーパ
ルスの数とカウント回路14で書込んだカウント値とが一
致するか否か判定しモニタする)ことによって、カウン
ト回路が正常に作動しているか否かのチェックを行うこ
ともできる。 尚、本実施例におけるカウント回路14では、カードコン
タクタへのブザー音の制御をも合わせて行っており、図
中41はブザーへの接続を示している。 この発明の稼働記録装置のデータカウントシステムは、
上記実施例に限定されるものではなく、種々の稼働機械
の稼働データを記録する際に用いることができ、各種セ
ンサーからの入力に対してそれぞれダミーパルスとの排
他的論理和を取ってクロック端子に入力することによっ
て同様の作用効果を奏することができ汎用性に優れる。
An embodiment in which the present invention is applied to a vehicle operation recording system using an IC card will be described below with reference to the drawings. The block diagram shown in FIG. 1 shows the hardware configuration of this embodiment, in which a keyboard 41 and a display 42 are connected to a control unit 10 composed of an 8-bit CPU via an address bus and a data bus B. Second interface (PIO) 11 for connecting the card contactor 43 of the IC card to the first interface (PIO) 12
And an interface (SIO) 13 for serial communication,
Interface 14 for connecting vehicle speed sensor S1 and tachometer S2 to measure vehicle speed and engine speed, and PROM15 used as memory for operation recording software etc.
RAM 16, which is used as a backup memory or software memory, a real-time clock 17 backed up by a vehicle battery, and a serial communication interface (CTC) 18. In the above configuration, the INTEL8253 count circuit (counter) is used as the interface 14 for measuring the vehicle speed and the engine speed. A decoder 31 is connected to the counting circuit 14 as shown in FIG. 3, and a dummy pulse signal is supplied to each of exclusive OR circuits 21 and 22 described later by a control signal from the dummy pulse generating means 1 of the control section 10. Is being output. In this counting circuit 14, the speed sensor S
It counts the pulse signals input from 1 and the digital tachometer (engine speed detection sensor) S2, and further initializes (writes to memory). That is, the pulse signal detected by the speed sensor S1 is
It is input to one of the first exclusive OR circuits 21 through the speed data input photocoupler 5 and the amplifier 6. To the other of the first exclusive OR circuit 21, a dummy pulse signal which is controlled by the dummy pulse generating means 1 and is transmitted each time the count circuit 14 is written and cleared by the decoder 31 is input. Further, regarding the pulse signal sent from the digital tachometer S2, the photo coupler 7 for inputting the engine rotation data is also used.
And an amplifier 8 and is input to one of the second exclusive OR circuits 22. A dummy pulse signal which is controlled by the dummy pulse generating means 1 and is transmitted from the decoder 31 every time the count circuit 14 is written and cleared is input to the other of the second exclusive OR circuit 22. To be done. Therefore, in each of the exclusive OR circuits 21 and 22, the exclusive OR is taken from the pulse signals of the sensors S1 and S2 input respectively and the dummy pulse signal inputted from the dummy pulse generating means 1 to obtain the counting circuit. 14 clock terminals (CLK
0, CLK1). As described above, the counting circuit is synchronized with this input clock.
At 14 the count value counted immediately before is written in the memory, and the dummy pulse generating means 1 inputs the dummy pulse from the decoder 31 to the exclusive OR circuits 21, 22. As a result, when the number of pulse signals detected from the sensor is larger than 0, the pulse signal is always input to the count circuit, and even when the detected value from the sensor becomes 0, writing is performed by the dummy pulse generated immediately before. It can be performed. With such a configuration, when the vehicle is stopped and the vehicle speed signal or the like does not change, the vehicle speed sensor does not output a pulse signal, but it is generated by writing and clearing the count value performed immediately before. Since the dummy pulse is output, the pulse signal can be input to the counting circuit 14, and since the clock signal is generated, the number of signals counted immediately before can be measured. Therefore, when the pulse signal is not input, the count value that has been counted immediately before is not written or cleared, and the count value can be written in the memory in real time without the previous count value remaining. it can. Since the count value written in this way includes the number of dummy pulse signals, it is necessary to subtract the number of dummy pulse signals when storing it as operation data. Therefore, the above processing is performed by the data adjusting means 3,
In the present embodiment, the number of dummy pulse signals is subtracted from the count value by software and stored in the memory 16 or output to the outside. Further, in the present invention, by adopting the above configuration, a predetermined number of dummy pulses are generated from the dummy pulse generating means 1 and the count number is confirmed (the number of input dummy pulses and the count written by the count circuit 14). It is also possible to check whether or not the count circuit is operating normally by determining and monitoring whether or not the values match. The counting circuit 14 in the present embodiment also controls the buzzer sound to the card contactor, and 41 in the figure indicates the connection to the buzzer. The data counting system of the operation recording device of the present invention is
The present invention is not limited to the above-mentioned embodiment, but can be used for recording the operation data of various operating machines. The clock terminal is obtained by taking the exclusive OR of the dummy pulse for each input from various sensors. By inputting to, the same operational effect can be obtained, and the versatility is excellent.

【発明の効果】【The invention's effect】

以上、この発明によれば、センサから検出されたパルス
信号を入力すると共にカウントした信号数を入力クロッ
クに同期して出力するカウント回路を用いた場合に、稼
働機械の停止によりセンサーからの入力信号が変化しな
い場合でも簡単な構成の付加によって正確にカウント数
を読み出すことができる。 またカウント回路の作動をチェックすることもでき有益
である。
As described above, according to the present invention, when the counting circuit that inputs the pulse signal detected from the sensor and outputs the counted signal number in synchronization with the input clock is used, the input signal from the sensor is stopped due to the stop of the operating machine. Even if does not change, the count number can be accurately read by adding a simple configuration. It is also useful to check the operation of the counting circuit.

【図面の簡単な説明】[Brief description of drawings]

第1図はこの発明の機能ブロック図、第2図はこの発明
の実施例に係るICカードを用いた稼働データ記録システ
ムのハード構成を示すブロック図、第3図はデータカウ
ントシステムを示す回路図である。 1……ダミーパルス発生手段 2……排他的論理和回路 3……データ調整手段 4……カウント回路 5……フォトカプラ 6……アンプ 7……フォトカプラ 8……アンプ 10……コントロール部 14……カウント回路 21……第1の排他的論理和回路 22……第2の排他的論理和回路 31……デコーダ S1……スピードセンサー S2……デジタルタコメータ
FIG. 1 is a functional block diagram of the present invention, FIG. 2 is a block diagram showing a hardware configuration of an operation data recording system using an IC card according to an embodiment of the present invention, and FIG. 3 is a circuit diagram showing a data counting system. Is. 1 ... Dummy pulse generating means 2 ... Exclusive OR circuit 3 ... Data adjusting means 4 ... Counting circuit 5 ... Photo coupler 6 ... Amplifier 7 ... Photo coupler 8 ... Amplifier 10 ... Control unit 14 ...... Count circuit 21 ...... First exclusive OR circuit 22 ...... Second exclusive OR circuit 31 ...... Decoder S1 ...... Speed sensor S2 ...... Digital tachometer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】センサから検出されたパルス信号を入力し
てカウントすると共に、直前にカウントした信号数を入
力クロックに同期して出力するカウント回路を有する稼
働記録装置のデータカウントシステムにおいて、 カウント回路がカウントした信号数を書込及びクリアす
る毎にダミーパルス信号を出力するダミーパルス発生手
段と、 センサからのパルス信号と共に上記ダミーパルス信号を
入力し排他的論理和を演算してカウント回路のクロック
端子に出力する排他的論理和回路と、 カウント回路でカウントされた信号数からダミーパルス
信号分を差し引いてメモリへ記憶させるデータ調整手段
と を有することを特徴とする稼働記録装置のデータカウン
トシステム。
1. A data counting system for an operation recording apparatus, comprising a counting circuit for inputting and counting pulse signals detected from a sensor and outputting the number of signals counted immediately before in synchronization with an input clock. The dummy pulse generating means for outputting a dummy pulse signal each time the number of signals counted by is written and cleared, and the above-mentioned dummy pulse signal together with the pulse signal from the sensor are input and the exclusive OR is calculated to obtain the clock of the counting circuit. A data counting system for an operation recording device, comprising: an exclusive OR circuit for outputting to a terminal; and a data adjusting means for subtracting a dummy pulse signal component from the number of signals counted by the counting circuit and storing it in a memory.
JP18308386A 1986-08-04 1986-08-04 Data recording system for operation recorder Expired - Lifetime JPH0761006B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18308386A JPH0761006B2 (en) 1986-08-04 1986-08-04 Data recording system for operation recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18308386A JPH0761006B2 (en) 1986-08-04 1986-08-04 Data recording system for operation recorder

Publications (2)

Publication Number Publication Date
JPS6345917A JPS6345917A (en) 1988-02-26
JPH0761006B2 true JPH0761006B2 (en) 1995-06-28

Family

ID=16129464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18308386A Expired - Lifetime JPH0761006B2 (en) 1986-08-04 1986-08-04 Data recording system for operation recorder

Country Status (1)

Country Link
JP (1) JPH0761006B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007096272A (en) 2005-09-02 2007-04-12 Sanyo Electric Co Ltd Electrical elements and electrical circuits
JP2010161461A (en) * 2009-01-06 2010-07-22 Yamatake Corp Control device

Also Published As

Publication number Publication date
JPS6345917A (en) 1988-02-26

Similar Documents

Publication Publication Date Title
JPH0761006B2 (en) Data recording system for operation recorder
JP2789900B2 (en) State history storage device
JPS5814390A (en) Tape position detection device
JPH0348720Y2 (en)
JPS6255110B2 (en)
JPH0120393B2 (en)
JPS5815159A (en) Digital speed detecting system
JPS6344199B2 (en)
JPH0142038Y2 (en)
JPH0329749Y2 (en)
SU424196A1 (en) DEVICE FOR READING AND CONTROL OF INFORMATION WITH PERFOCART
SU1485152A1 (en) Impedance parameter microprocessor meter
JPH03194469A (en) Automotive angular velocity detection device
SU1493955A1 (en) Digital meter of accelerations of a shaft
SU968765A1 (en) Digital device for determining speed and acceleration code
SU631959A2 (en) Process parameter registering device
JP2857904B2 (en) Digital tachograph
JP2871337B2 (en) Memory monitoring circuit
JP2513888B2 (en) Microprocessor
SU1195261A1 (en) Strain-measuring digital device
JPS59168377A (en) Apparatus for measuring position of partial discharge generated in cable
JPS58143425U (en) Protection relay monitoring device
JPH034945Y2 (en)
JPH0231248A (en) Data processor
JPS62256096A (en) Pulse string counter