JPH078772U - Speed detector - Google Patents

Speed detector

Info

Publication number
JPH078772U
JPH078772U JP3859593U JP3859593U JPH078772U JP H078772 U JPH078772 U JP H078772U JP 3859593 U JP3859593 U JP 3859593U JP 3859593 U JP3859593 U JP 3859593U JP H078772 U JPH078772 U JP H078772U
Authority
JP
Japan
Prior art keywords
speed
count value
calculating
sampling period
pulse
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.)
Granted
Application number
JP3859593U
Other languages
Japanese (ja)
Other versions
JP2606805Y2 (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 JP1993038595U priority Critical patent/JP2606805Y2/en
Publication of JPH078772U publication Critical patent/JPH078772U/en
Application granted granted Critical
Publication of JP2606805Y2 publication Critical patent/JP2606805Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)
  • Control Of Velocity Or Acceleration (AREA)

Abstract

(57)【要約】 【目的】 短時間で速度を検出するために速度検出のサ
ンプリング期間を短くしても、低速度の速度領域まで速
度および加速度・減速度を検出することができる速度検
出装置を提供する。 【構成】 輸送装置の車輪の回転に伴って速度発電機か
ら出力される速度パルスの出力パルス数をフリーランカ
ウントするカウンタ回路2と、基準クロック発生回路4
から出力されるクロック信号のクロック数をフリーラン
カウントするカウンタ回路12と、所定のサンプリング
期間毎にカウンタ回路2のカウント値をラッチするラッ
チ回路3と、前記速度パルスの一周期毎にカウンタ回路
12のカウント値をラッチするラッチ回路13と、該サ
ンプリング期間毎に、ラッチ回路3にラッチされた値の
差によって得られる速度パルス計数値とラッチ回路13
にラッチされた値の差によって得られる計時値とに基づ
き、速度および加速度・減速度を算出するCPUとを設
けた。
(57) [Summary] [Purpose] A speed detection device capable of detecting speed and acceleration / deceleration even in a low speed region even if the sampling period for speed detection is shortened in order to detect speed in a short time. I will provide a. A counter circuit 2 for performing a free-run count of the number of speed pulses output from a speed generator according to the rotation of wheels of a transportation device, and a reference clock generation circuit 4
A counter circuit 12 for performing a free-run count on the number of clocks of a clock signal output from the latch circuit 3; Latch circuit 13 for latching the count value of the speed pulse count value and the latch circuit 13 obtained by the difference between the values latched by the latch circuit 3 every sampling period.
A CPU for calculating the speed and the acceleration / deceleration based on the clocked value obtained by the difference between the values latched in is provided.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

この考案は、例えば鉄道車両の速度や加速度・減速度を検出する速度検出装置 に関する。 The present invention relates to a speed detection device that detects, for example, the speed and acceleration / deceleration of a railway vehicle.

【0002】[0002]

【従来の技術】[Prior art]

鉄道車両等においては、制動時における車輪およびレール間の擦傷を防止する とともに、制動距離の延伸を極力短く抑える必要がある。この場合、制動時に車 輪およびレール間に発生する相対的な滑りを少なくするため、車両の速度と減速 時の減速度とを短時間かつ高精度に検出し、これにより制動力を随時制御するこ とが必要になる。 In railway vehicles and the like, it is necessary to prevent scratches between wheels and rails during braking and to keep the braking distance as short as possible. In this case, in order to reduce the relative slippage that occurs between the wheel and the rail during braking, the vehicle speed and the deceleration during deceleration are detected in a short time and with high accuracy, and the braking force is controlled accordingly. You need this.

【0003】 従来よりこのような目的から、鉄道車両等の車輪の回転に対応して歯車を回転 させてパルス(以下、速度パルスと称する。)を発生させる速度発電機を設置し 、そのパルス数を所定のサンプリング期間毎に計数することにより車両等の速度 や加速度・減速度を検出する装置が開発されている。出願人は、この種の装置の 一例として特願平4−20292号を既に提案している。For this purpose, a speed generator that rotates a gear corresponding to rotation of a wheel of a railway vehicle or the like to generate a pulse (hereinafter, referred to as a speed pulse) has been conventionally installed, and the number of pulses thereof is set. An apparatus has been developed that detects the speed and acceleration / deceleration of a vehicle or the like by counting the number of times every predetermined sampling period. The applicant has already proposed Japanese Patent Application No. 4-20292 as an example of this type of device.

【0004】 図4は、特願平4−20292号に開示した速度検出装置の検出回路の構成を 示すブロック図である。この図において、1は波形整形回路であり、図示しない 速度発電機から出力される速度パルスPLSを波形整形し、これを速度パルスP LS1として出力する。2はカウンタ回路であり、波形整形回路1から出力され る速度パルスPLS1をカウントし、このカウント値CNTを出力する。3はラ ッチ回路であり、基準クロック発生回路4から出力されるラッチ信号LATを受 けてカウンタ回路2から出力されるカウント値CNTをラッチする。FIG. 4 is a block diagram showing a configuration of a detection circuit of the speed detection device disclosed in Japanese Patent Application No. 4-20292. In this figure, 1 is a waveform shaping circuit, which shapes the speed pulse PLS output from a speed generator (not shown) and outputs it as a speed pulse P LS1. A counter circuit 2 counts the speed pulse PLS1 output from the waveform shaping circuit 1 and outputs this count value CNT. A latch circuit 3 receives the latch signal LAT output from the reference clock generation circuit 4 and latches the count value CNT output from the counter circuit 2.

【0005】 基準クロック発生回路4は、図示しないCPU(中央処理装置)に対して一定 周期τ(以下、サンプリング期間τと称する。)毎に割り込み信号INTを出力 する。CPUは、この割り込み信号INTを受けてラッチ回路3へ読み取り指令 RCVを出力する。ラッチ回路3は、この読み取り指令RCVに応じ、ラッチし ているカウント値CNTを速度発電機の速度パルス計数値としてCPUへ出力す る。また、カウンタ回路2は、基準クロック発生回路4から出力されるクリア信 号CLRによってクリアされる。The reference clock generation circuit 4 outputs an interrupt signal INT to a CPU (central processing unit) (not shown) at regular intervals τ (hereinafter referred to as sampling period τ). Upon receiving the interrupt signal INT, the CPU outputs a read command RCV to the latch circuit 3. The latch circuit 3 outputs the latched count value CNT to the CPU as the speed pulse count value of the speed generator in response to the read command RCV. The counter circuit 2 is cleared by the clear signal CLR output from the reference clock generation circuit 4.

【0006】 11はDフリップフロップである。このDフリップフロップ11には、波形整 形回路1から出力される速度パルスPLS1がクロックCKとして入力されると ともに、常にHighレベルの信号がデータDとして入力される。また、Dフリ ップフロップ11は、基準クロック発生回路4から出力されるクリア信号CLR によってクリアされる。14はANDゲートであり、Dフリップフロップ11の 出力信号Qと基準クロック発生回路4から出力されるクロック信号CLKとのA NDをとり、この結果をクロック信号CLK2として出力する。Reference numeral 11 is a D flip-flop. A speed pulse PLS1 output from the waveform shaping circuit 1 is input to the D flip-flop 11 as a clock CK, and a high level signal is always input as data D. The D flip-flop 11 is cleared by the clear signal CLR output from the reference clock generation circuit 4. Reference numeral 14 denotes an AND gate, which takes an AND between the output signal Q of the D flip-flop 11 and the clock signal CLK output from the reference clock generation circuit 4 and outputs the result as a clock signal CLK2.

【0007】 12はカウンタ回路である。このカウンタ回路12は、ANDゲート14から 出力されるクロック信号CLK2をカウントし、このカウント値CNT12を出 力するとともに、基準クロック発生回路4から出力されるクリア信号CLRによ ってクリアされる。13はラッチ回路であり、基準クロック発生回路4が速度パ ルスPLS1に基づいて出力するラッチ信号LAT13に応じてカウンタ回路1 2のカウント値CNT12をラッチする。また、ラッチ回路13は、CPUから 供給される読み取り指令RCV2に応じ、ラッチしているカウント値CNT12 をCPUへ出力する。Reference numeral 12 is a counter circuit. The counter circuit 12 counts the clock signal CLK2 output from the AND gate 14, outputs the count value CNT12, and is cleared by the clear signal CLR output from the reference clock generation circuit 4. Reference numeral 13 is a latch circuit, which latches the count value CNT12 of the counter circuit 12 according to a latch signal LAT13 output from the reference clock generation circuit 4 based on the speed pulse PLS1. Further, the latch circuit 13 outputs the latched count value CNT12 to the CPU in response to the read command RCV2 supplied from the CPU.

【0008】 なお、カウンタ回路12は、車両の速度が所定速度以下になってそのカウント 値が所定値を越えると、オーバーフロー信号OFLをCPUへ出力する。これに より、CPUは、現在の速度以下では速度および加速度・減速度の検出が不可能 であることを識別する。The counter circuit 12 outputs an overflow signal OFL to the CPU when the vehicle speed becomes equal to or lower than a predetermined speed and the count value exceeds the predetermined value. From this, the CPU identifies that the speed and acceleration / deceleration cannot be detected below the current speed.

【0009】 次に、図5に示す各信号のタイミング・チャートを参照し、この検出回路の動 作を説明する。まず、基準クロック発生回路4によって割り込み信号INTが立 ち上げられると、CPUは後述する割り込み処理を行う。また、この割り込み信 号INTが立ち上げられると、所定のパルス幅のラッチ信号LATが基準クロッ ク発生回路4からラッチ回路3へ出力され、カウンタ回路2のカウント値CNT がラッチ回路3によりラッチされる。また、ラッチ信号LATが出力されると、 所定のパルス幅のクリア信号CLRが基準クロック発生回路4から出力され、カ ウンタ回路2,12およびDフリップフロップ11がクリアされる。Next, the operation of the detection circuit will be described with reference to the timing chart of each signal shown in FIG. First, when the interrupt signal INT is raised by the reference clock generation circuit 4, the CPU performs an interrupt process described later. When the interrupt signal INT is raised, the latch signal LAT having a predetermined pulse width is output from the reference clock generation circuit 4 to the latch circuit 3, and the count value CNT of the counter circuit 2 is latched by the latch circuit 3. It When the latch signal LAT is output, the clear signal CLR having a predetermined pulse width is output from the reference clock generation circuit 4, and the counter circuits 2 and 12 and the D flip-flop 11 are cleared.

【0010】 その後、速度パルスPLS1が1回目に立ち上がると、カウンタ回路2は速度 パルスPLS1のカウントを開始し、以後、速度パルスPLS1が立ち上がる毎 にカウントアップを行う。一方、カウンタ回路12は、速度パルスPLS1の1 回目の立ち上がりからクロック信号CLKのクロック数のカウントを開始する。 そして、速度パルスPLS1が立ち上がる毎に、所定のパルス幅のラッチ信号L AT13が基準クロック発生回路4からラッチ回路13へ出力され、このときの カウンタ回路12のカウント値CNT12がラッチ回路13によりラッチされる 。After that, when the speed pulse PLS1 rises for the first time, the counter circuit 2 starts counting the speed pulse PLS1 and thereafter counts up each time the speed pulse PLS1 rises. On the other hand, the counter circuit 12 starts counting the number of clocks of the clock signal CLK from the first rising of the speed pulse PLS1. Then, each time the speed pulse PLS1 rises, a latch signal LAT13 having a predetermined pulse width is output from the reference clock generation circuit 4 to the latch circuit 13, and the count value CNT12 of the counter circuit 12 at this time is latched by the latch circuit 13. R.

【0011】 そして、再び基準クロック発生回路4によって割り込み信号INTが立ち上げ られると、基準クロック発生回路4からラッチ信号LATが出力され、このとき のカウンタ回路2のカウント値CNTがラッチ回路3によりラッチされる。また 、ラッチ信号LATが出力された直後にクリア信号CLRが基準クロック発生回 路4から出力され、これによりカウンタ回路2,12およびDフリップフロップ 11がクリアされる。こうして、割り込み信号INTの立ち上がり直後において は、ラッチ回路3には図示Aの値がラッチされ、ラッチ回路13には図示Bの値 がラッチされることになる。When the interrupt signal INT is raised again by the reference clock generation circuit 4, the reference clock generation circuit 4 outputs the latch signal LAT, and the count value CNT of the counter circuit 2 at this time is latched by the latch circuit 3. To be done. In addition, immediately after the latch signal LAT is output, the clear signal CLR is output from the reference clock generation circuit 4, whereby the counter circuits 2 and 12 and the D flip-flop 11 are cleared. Thus, immediately after the rise of the interrupt signal INT, the value of A in the figure is latched in the latch circuit 3, and the value of B in the figure is latched in the latch circuit 13.

【0012】 一方、CPUは、割り込み信号INTの立ち上がりに応じて読み取り指令RC Vをラッチ回路3へ出力する。これにより、ラッチ回路3にラッチされているカ ウント値CNTがCPUへ供給される。CPUは、このカウント値CNTから“ 1”を差し引いて速度パルス計数値を得る。また、CPUは、割り込み信号IN Tの立ち上がりに応じて読み取り指令RCV2をラッチ回路13へ出力する。こ れにより、ラッチ回路13にラッチされているカウント値CNT12、すなわち 速度パルス計数値に対応する期間のクロック計数値がCPUへ供給される。On the other hand, the CPU outputs a read command RC V to the latch circuit 3 in response to the rising edge of the interrupt signal INT. As a result, the count value CNT latched by the latch circuit 3 is supplied to the CPU. The CPU subtracts "1" from the count value CNT to obtain the speed pulse count value. Further, the CPU outputs a read command RCV2 to the latch circuit 13 in response to the rising edge of the interrupt signal INT. As a result, the count value CNT12 latched by the latch circuit 13, that is, the clock count value in the period corresponding to the speed pulse count value is supplied to the CPU.

【0013】 さらに、CPUは、上述のようにして得られた速度パルス計数値とこの速度パ ルス計数値に対応する期間のクロック計数値とを用いて、以下に示す数式に基づ いて速度および減速時の減速度を算出する。まず、図6に示すように、サンプリ ング期間τにおける速度パルス計数値をnt、この速度パルス計数値ntに対応す る期間のクロック計数値をNtとすると、クロック計数値Ntを時間(秒)に換算 した速度パルス計数期間ttは tt = 1/F0×Nt ……………………………………………(1) F0:基準クロック発生回路4のクロック周波数(HZ) によって与えられる。また、速度パルス計数値ntは、 nt = (P×103)/(3.6×π×D)×V×tt ……(2) P:速度発電機1回転当たりの発生パルス数 D:車輪径(mm) π:円周率 V:車両の速度(km/時) によって与えられる。 そして、(P×103)/(3.6×π×D)=Kと置いて、(2)式を変形 すると、速度Vは、 V = nt/(K×tt) …………………………………………(3) によって与えられる。Further, the CPU uses the velocity pulse count value obtained as described above and the clock count value of the period corresponding to this velocity pulse count value, based on the following mathematical formulas. Calculate deceleration during deceleration. First, as shown in FIG. 6, the sampling period rate pulses in τ count a n t, when the clock count value of the period that corresponds to the speed pulse count n t and N t, the clock count value N t The speed pulse counting period t t converted to time (sec) is t t = 1 / F 0 × N t …………………………………………… (1) F 0 : Reference clock generation It is given by the clock frequency (H Z ) of the circuit 4. The speed pulse count value n t is: n t = (P × 10 3 ) / (3.6 × π × D) × V × t t (2) P: Pulse generated per revolution of the speed generator Number D: Wheel diameter (mm) π: Circularity V: Given by vehicle speed (km / h). Then, by setting (P × 10 3 ) / (3.6 × π × D) = K and transforming the equation (2), the velocity V is V = n t / (K × t t ) ... ……………………………………… given by (3).

【0014】 さらに、図6に示すように、速度パルス計数値ntおよび速度パルス計数期間 ttが得られた期間の次のサンプリング期間τにおける速度パルス計数値がnt+1 、速度パルス計数期間がtt+1である場合、減速時の減速度βは、 β = 1/(K×τ)×(nt/tt−nt+1/tt+1) ………(4) によって与えられる。Further, as shown in FIG. 6, the velocity pulse count value is n t + 1 and the velocity pulse count is n t + 1 in the sampling period τ next to the period in which the velocity pulse count value n t and the velocity pulse count period tt are obtained. When the period is t t + 1 , the deceleration β during deceleration is β = 1 / (K × τ) × (n t / t t −n t + 1 / t t + 1 ) ... (4 ) Given by.

【0015】 こうして、サンプリング期間τ内に、速度発電機から出力される速度パルスの うち1周期分のパルス波形が出力された速度パルスの計数値ntと、この計数さ れた速度パルスの出力に要した時間の計時値Ntとに基づき、車両の走行速度お よび減速度が算出される。Thus, within the sampling period τ, the count value n t of the speed pulse in which a pulse waveform for one cycle of the speed pulse output from the speed generator is output, and the output of the counted speed pulse The traveling speed and deceleration of the vehicle are calculated on the basis of the measured value N t of the time required for.

【0016】[0016]

【考案が解決しようとする課題】[Problems to be solved by the device]

ところで、上述した従来の速度検出装置においては、サンプリング期間τを2 パルスの速度パルスPLS1が出力される時間間隔より短くすると、速度検出が できなくなる。すなわち、図7に示すように、サンプリング期間τ内に速度パル スPLS1の立ち上がりが2回以上現れる場合(図示T1)、速度パルス計数値 ntがnt=1となるので速度検出が可能であるが、サンプリング期間τ内に速度 パルスPLS1の立ち上がりが1回しか現れない場合(図示T2)には、速度パ ルス計数値ntがnt=0となって速度検出が不可能になる。したがって、速度検 出が可能な最短のサンプリング期間τは、2パルスの速度パルスPLS1が出力 される時間間隔となる。 このとき、速度検出が可能な車両の最低速度Vは、 V = (2×3.6×π×D)/(P×103×τ) ………(5) によって与えられるため、短時間で速度を検出するためにサンプリング期間τを 短くすると、速度検出が可能な最低速度Vが高くなり、低速度の速度領域の検出 ができなくなってしまう。By the way, in the above-described conventional speed detecting device, if the sampling period τ is shorter than the time interval at which the speed pulse PLS1 of 2 pulses is output, speed detection cannot be performed. That is, as shown in FIG. 7, when the rising of the speed pulse PLS1 occurs twice or more within the sampling period τ (T1 in the figure), the speed pulse count value n t becomes n t = 1 so that speed detection is possible. However, if the rise of the velocity pulse PLS1 appears only once within the sampling period τ (T2 in the figure), the velocity pulse count value n t becomes n t = 0, and velocity detection becomes impossible. Therefore, the shortest sampling period τ capable of speed detection is the time interval at which the speed pulse PLS1 of two pulses is output. At this time, the minimum speed V of the vehicle capable of speed detection is given by: V = (2 × 3.6 × π × D) / (P × 10 3 × τ) (5) If the sampling period τ is shortened in order to detect the speed at, the minimum speed V at which the speed can be detected becomes high, and it becomes impossible to detect the low speed area.

【0017】 この考案は、このような背景の下になされたもので、短時間で速度を検出する ために速度検出のサンプリング期間を短くしても、低速度の速度領域まで速度お よび加速度・減速度を検出することができる速度検出装置を提供することを目的 としている。The present invention has been made under such a background. Even if the sampling period for speed detection is shortened in order to detect speed in a short time, the speed and acceleration It is an object of the present invention to provide a speed detection device capable of detecting deceleration.

【0018】[0018]

【課題を解決するための手段】 上述した課題を解決するために、請求項1記載の考案は、輸送装置の車輪の回 転に伴って速度発電機から出力される速度パルスに基づき、該輸送装置の速度お よび加速度・減速度を検出する検出装置において、 前記速度パルスの出力パルス数を計数する計数手段と、 所定のクロックパルスのクロック数を計数する計時手段と、 所定のサンプリング期間毎に前記計数手段の計数値を保持する第1の保持手段 と、 前記速度パルスの一周期毎に前記計時手段の計数値を保持する第2の保持手段 と、 前記第1の保持手段によって保持された前記サンプリング期間の開始時点と終 了時点の計数値の差を算出し、この結果を該サンプリング期間における速度パル ス計数値として出力する第1の減算手段と、 前記第2の保持手段によって保持された前記サンプリング期間の開始時点と終 了時点の計数値の差を算出し、この結果を前記速度パルス計数値に対応する期間 の計時値として出力する第2の減算手段と、 前記速度パルス計数値と前記計時値とに基づき、前記輸送装置の走行速度を算 出する第1の演算手段と、 前記第1の演算装置によって算出された隣接する2つのサンプリング期間にお ける走行速度に基づき、前記輸送装置の加速度あるいは減速度を算出する第2の 演算手段と を具備することを特徴としている。In order to solve the above-mentioned problems, the invention according to claim 1 is based on a speed pulse output from a speed generator according to rotation of wheels of a transportation device, In a detection device for detecting the speed and acceleration / deceleration of the device, counting means for counting the output pulse number of the speed pulse, time counting means for counting the clock number of a predetermined clock pulse, and for each predetermined sampling period First holding means for holding the count value of the counting means, second holding means for holding the count value of the time counting means in each cycle of the speed pulse, and held by the first holding means First subtraction means for calculating a difference between count values at the start time and end time of the sampling period and outputting the result as a speed pulse count value during the sampling period; Second subtraction means for calculating a difference between the count values at the start time and the end time of the sampling period held by the holding means, and outputting the result as a time count value for the period corresponding to the speed pulse count value. A first calculation means for calculating a traveling speed of the transportation device based on the speed pulse count value and the time count value; and two adjacent sampling periods calculated by the first calculation device. A second calculation means for calculating the acceleration or deceleration of the transportation device based on the traveling speed.

【0019】 また、請求項2記載の考案は、請求項1記載の考案において、 前記サンプリング期間毎に前記第1および第2の保持手段に保持されている値 を取り込み、これらを記憶する記憶手段を備え、 前記第1および第2の減算手段は、前記サンプリング期間の整数倍の所定の演 算期間について計数値の差を算出し、 前記第1の演算手段は、前記第1および第2の減算手段の算出結果に基づき、 前記演算期間について走行速度を算出し、 前記第2の演算手段は、前記第1の演算装置によって算出された隣接する2つ の演算期間における走行速度に基づき、前記加速度あるいは減速度を算出するこ とを特徴としている。The invention according to claim 2 is the device according to claim 1, wherein the storage means for fetching the values held in the first and second holding means for each sampling period and storing them The first and second subtraction means calculate a difference between count values for a predetermined operation period that is an integral multiple of the sampling period, and the first operation means includes the first and second subtraction means. Based on the calculation result of the subtraction unit, the traveling speed is calculated for the calculation period, and the second calculation unit is configured to calculate the traveling speed based on the traveling speeds of the two adjacent calculation periods calculated by the first calculation device. It is characterized by calculating acceleration or deceleration.

【0020】[0020]

【作用】[Action]

請求項1記載の考案によれば、計数手段が、速度パルスの出力パルス数を計数 し、計時手段が、所定のクロックパルスのクロック数を計数し、第1の保持手段 が、所定のサンプリング期間毎に計数手段の計数値を保持し、第2の保持手段が 、前記速度パルスの一周期毎に計時手段の計数値を保持する。そして、第1の減 算手段が、第1の保持手段によって保持された前記サンプリング期間の開始時点 と終了時点の計数値の差を算出し、この結果を該サンプリング期間における速度 パルス計数値として出力し、第2の減算手段が、第2の保持手段によって保持さ れた前記サンプリング期間の開始時点と終了時点の計数値の差を算出し、この結 果を前記速度パルス計数値に対応する期間の計時値として出力する。さらに、第 1の演算手段が、前記速度パルス計数値と前記計時値とに基づき、輸送装置の走 行速度を算出し、第2の演算手段が、第1の演算装置によって算出された隣接す る2つのサンプリング期間における走行速度に基づき、輸送装置の加速度あるい は減速度を算出する。 これにより、サンプリング期間内に速度パルスの立ち上がり(あるいは立ち下 がり)が2回以上現れない場合であっても、速度および加速度・減速度の検出が 可能になる。 According to the invention as set forth in claim 1, the counting means counts the number of output pulses of the speed pulse, the time counting means counts the number of clocks of a predetermined clock pulse, and the first holding means controls the predetermined sampling period. The count value of the counting means is held for each time, and the second holding means holds the count value of the time measuring means for each cycle of the speed pulse. Then, the first subtraction means calculates a difference between the count values at the start time and the end time of the sampling period held by the first holding means, and outputs the result as a velocity pulse count value in the sampling period. Then, the second subtraction means calculates the difference between the count values at the start time and the end time of the sampling period held by the second holding means, and the result is the period corresponding to the speed pulse count value. It is output as the measured value of. Further, the first calculating means calculates the traveling speed of the transportation device based on the speed pulse count value and the timekeeping value, and the second calculating means calculates the adjacent speed calculated by the first calculating device. The acceleration or deceleration of the transportation device is calculated based on the traveling speed during the two sampling periods. This makes it possible to detect the velocity and acceleration / deceleration even when the rise (or fall) of the velocity pulse does not appear more than once within the sampling period.

【0021】 また、請求項2記載の考案によれば、記憶手段が、サンプリング期間毎に第1 および第2の保持手段に保持されている値を取り込んでこれらを記憶し、第1お よび第2の減算手段が、サンプリング期間の整数倍の所定の演算期間について計 数値の差を算出し、第1の演算手段が、第1および第2の減算手段の算出結果に 基づき、前記演算期間について走行速度を算出し、第2の演算手段が、第1の演 算装置によって算出された隣接する2つの演算期間における走行速度に基づき、 加速度あるいは減速度を算出する。 これにより、請求項1記載の考案による作用に加え、サンプリング期間毎に値 がクリアされない計数値に基づいて、サンプリング期間の整数倍の期間について 速度が算出され、速度および加速度・減速度の演算精度が向上する。According to the second aspect of the invention, the storage means fetches the values held in the first and second holding means for each sampling period and stores them, and stores the first and second values. The second subtraction means calculates a difference in numerical value for a predetermined calculation period that is an integral multiple of the sampling period, and the first calculation means calculates the difference between the calculation periods based on the calculation results of the first and second subtraction means. The traveling speed is calculated, and the second calculating means calculates the acceleration or the deceleration based on the traveling speeds in the two adjacent calculation periods calculated by the first arithmetic device. As a result, in addition to the effect of the device according to claim 1, the velocity is calculated for an integral multiple of the sampling period based on the count value whose value is not cleared for each sampling period, and the calculation accuracy of the velocity and the acceleration / deceleration is calculated. Is improved.

【0022】[0022]

【実施例】【Example】

以下、図面を参照して、この考案の実施例について説明する。 図1は、この考案の一実施例による速度検出装置の検出回路の構成を示すブロ ック図である。この図において、図4に示した各部と共通する部分については、 同一の符号を付し、その説明を省略する。また、図1に示す実施例が、図4に示 した従来例と異なる点は、Dフリップフロップ11とANDゲート14とを省略 して、基準クロック発生回路4から出力されるクロック信号CLKを直接カウン タ回路12へ供給するとともに、カウンタ回路2,12がクリア信号CLRによ ってクリアされることなく、それぞれの入力パルスPLS1,CLKをフリーラ ンカウントするよう構成したところにある。なお、この場合、カウンタ回路12 の容量Nは、 N > τ/(1/F0) ……………………………………………(6 ) τ:サンプリング期間 F0:基準クロック発生回路4のクロック周波数 を満たすように設定される。 また、CPU(図示略)の割り込み処理による速度および減速度の算出方法も 前述の従来例と異なるが、その詳細については後述する。An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the structure of a detection circuit of a speed detection device according to an embodiment of the present invention. In this figure, parts that are the same as the parts shown in FIG. 4 are assigned the same reference numerals and explanations thereof are omitted. The embodiment shown in FIG. 1 is different from the conventional example shown in FIG. 4 in that the D flip-flop 11 and the AND gate 14 are omitted, and the clock signal CLK output from the reference clock generation circuit 4 is directly output. The counter circuit 2, 12 is supplied to the counter circuit 12 and is free-run-counted for each input pulse PLS1, CLK without being cleared by the clear signal CLR. In this case, the capacitance N of the counter circuit 12 is N> τ / (1 / F 0 ) ... ………………………………………… (6) τ: Sampling period F 0 : It is set to satisfy the clock frequency of the reference clock generation circuit 4. Further, the method of calculating the speed and the deceleration by the interrupt processing of the CPU (not shown) is also different from the above-mentioned conventional example, but the details will be described later.

【0023】 次に、図2に示す各信号のタイミング・チャートを参照し、この検出回路の動 作を説明する。まず、基準クロック発生回路4から出力される割り込み信号IN Tが立ち上がると、CPUが後述する割り込み処理を行うとともに、所定のパル ス幅のラッチ信号LATが基準クロック発生回路4からラッチ回路3へ出力され る。このとき、カウンタ回路2による速度パルスPLS1のカウント値CNTが ラッチ回路3によりラッチされる。以後、割り込み信号INTが立ち上がる毎に 、上記動作が繰り返される。Next, the operation of this detection circuit will be described with reference to the timing chart of each signal shown in FIG. First, when the interrupt signal INT output from the reference clock generation circuit 4 rises, the CPU performs the interrupt processing described later, and the latch signal LAT having a predetermined pulse width is output from the reference clock generation circuit 4 to the latch circuit 3. Be done. At this time, the count value CNT of the speed pulse PLS1 from the counter circuit 2 is latched by the latch circuit 3. After that, the above operation is repeated each time the interrupt signal INT rises.

【0024】 一方、速度パルスPLS1が立ち上がると、カウンタ回路2がカウントアップ を行うとともに、所定のパルス幅のラッチ信号LAT13が基準クロック発生回 路4からラッチ回路13へ出力される。このとき、カウンタ回路12によるクロ ック信号CLKのカウント値CNT12がラッチ回路13によりラッチされる。 以後、速度パルスPLS1が立ち上がる毎に、上記動作が繰り返される。On the other hand, when the speed pulse PLS1 rises, the counter circuit 2 counts up and the latch signal LAT13 having a predetermined pulse width is output from the reference clock generation circuit 4 to the latch circuit 13. At this time, the count value CNT12 of the clock signal CLK from the counter circuit 12 is latched by the latch circuit 13. After that, the above operation is repeated every time the speed pulse PLS1 rises.

【0025】 また、CPUは、割り込み信号INTが立ち上がると、ラッチ回路3へ読み取 り指令RCVを出力する一方、ラッチ回路13へ読み取り指令RCV2を出力す る。これにより、ラッチ回路3,13にそれぞれラッチされているカウント値C NT,CNT12がCPUへ供給される。When the interrupt signal INT rises, the CPU outputs a read command RCV to the latch circuit 3 and a read command RCV2 to the latch circuit 13. As a result, the count values CNT and CNT12 latched in the latch circuits 3 and 13 are supplied to the CPU.

【0026】 これにより、例えばサンプリング期間τkの始まりに対応する割り込み信号I NTの立ち上がり直後においては、このときラッチ回路3にラッチされている図 示A′の値と、ラッチ回路13にラッチされている図示B′の値とがCPUへ供 給される。また、このサンプリング期間τkの終わりに対応する割り込み信号I NTの立ち上がり直後においては、このときラッチ回路3にラッチされている図 示Aの値と、ラッチ回路13にラッチされている図示Bの値とがCPUへ供給さ れる。Thus, for example, immediately after the rise of the interrupt signal INT corresponding to the beginning of the sampling period τk, the value of A ′ shown in the figure, which is latched in the latch circuit 3 at this time, and the value in the latch circuit 13 is latched. The value of B'shown in the figure is supplied to the CPU. Immediately after the rising edge of the interrupt signal INT corresponding to the end of the sampling period τk, the value shown in FIG. A latched in the latch circuit 3 and the value shown in B shown in the latch circuit 13 are latched. And are supplied to the CPU.

【0027】 こうして、例えば図3に示すように、各サンプリング期間τ1,τ2,τ3, τ4,……毎に、速度パルス計数値(n3−n1),(n6−n3),(n8− n6),(n11−n8),……と、これらに対応する期間のクロック計数値( N3−N1),(N6−N3),(N8−N6),(N11−N8),……とが 、CPUへ供給される。Thus, for example, as shown in FIG. 3, for each sampling period τ1, τ2, τ3, τ4, ... Velocity pulse count values (n3-n1), (n6-n3), (n8-n6) , (N11-n8), ... And the clock count values (N3-N1), (N6-N3), (N8-N6), (N11-N8) ,. Is supplied to.

【0028】 そして、CPUは、以下に示す数式に基づいて速度および減速度を算出する。 例えば、サンプリング期間τ1における速度V1は、Then, the CPU calculates the speed and the deceleration based on the mathematical formulas shown below. For example, the velocity V1 in the sampling period τ1 is

【数1】 (ただし、K=(P×103)/(3.6×π×D)とする) によって与えられる。 このとき、サンプリング期間τ2における速度をV2とすると、サンプリング 期間τ1,τ2における減速度βは、[Equation 1] (However, K = (P × 10 3 ) / (3.6 × π × D)). At this time, if the speed in the sampling period τ2 is V2, the deceleration β in the sampling periods τ1 and τ2 is

【数2】 によって与えられる。[Equation 2] Given by.

【0029】 このように、本実施例によれば、サンプリング期間τ内に速度パルスPLS1 の立ち上がりが2回以上現れない場合であっても、速度および減速度(あるいは 加速度)が検出可能となる。したがって、短時間で速度を検出するために速度検 出のサンプリング期間を短くしても、低速度の速度領域まで速度および加速度・ 減速度を検出することができる。As described above, according to this embodiment, the speed and the deceleration (or the acceleration) can be detected even when the rising of the speed pulse PLS1 does not appear twice or more within the sampling period τ. Therefore, even if the sampling period for speed detection is shortened in order to detect the speed in a short time, the speed and the acceleration / deceleration can be detected even in the low speed region.

【0030】 また、CPUが有する所定のデータ記憶領域を利用して複数のサンプリング期 間τについて得られた値を記憶しておき、サンプリング期間τ毎に値がクリアさ れない計数値に基づいて、サンプリング期間τの整数倍の期間について速度を算 出することにより、速度および加速度・減速度の演算精度を高めることも可能で ある。Further, the values obtained for a plurality of sampling periods τ are stored by using a predetermined data storage area of the CPU, and the values are not cleared for each sampling period τ based on the count value. By calculating the velocity for a period that is an integral multiple of the sampling period τ, it is possible to improve the calculation accuracy of velocity and acceleration / deceleration.

【0031】[0031]

【考案の効果】[Effect of device]

以上説明したように、請求項1記載の考案によれば、サンプリング期間内に速 度パルスの立ち上がり(あるいは立ち下がり)が2回以上現れない場合であって も、速度および加速度・減速度の検出が可能になるので、 短時間で速度を検出するために速度検出のサンプリング期間を短くしても、低 速度の速度領域まで速度および加速度・減速度を検出することができるという効 果が得られる。 As described above, according to the invention of claim 1, even when the rising (or the falling) of the speed pulse does not appear more than once within the sampling period, the speed and the acceleration / deceleration are detected. Therefore, even if the sampling period for speed detection is shortened in order to detect the speed in a short time, it is possible to detect the speed and the acceleration / deceleration even in the low speed range. .

【0032】 また、請求項2記載の考案によれば、請求項1記載の考案による効果に加え、 サンプリング期間毎に値がクリアされない計数値に基づいて、サンプリング期間 の整数倍の期間について速度が算出され、速度および加速度・減速度の演算精度 が向上するので、 高精度に速度および加速度・減速度を検出することができるという効果が得ら れる。According to the second aspect of the invention, in addition to the effect of the first aspect of the invention, based on the count value whose value is not cleared for each sampling period, the speed is increased for an integral multiple of the sampling period. Since it is calculated and the calculation accuracy of the velocity and acceleration / deceleration is improved, the effect that the velocity, acceleration / deceleration can be detected with high accuracy can be obtained.

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

【図1】この考案の一実施例による速度検出装置の検出
回路の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a detection circuit of a speed detection device according to an embodiment of the present invention.

【図2】同回路における各信号のタイミング・チャート
である。
FIG. 2 is a timing chart of each signal in the same circuit.

【図3】同回路においてサンプリングされる速度パルス
計数値と速度パルス計数期間のクロック計数値を示す図
である。
FIG. 3 is a diagram showing a velocity pulse count value sampled in the same circuit and a clock count value of a velocity pulse count period.

【図4】従来例による速度検出装置の検出回路の構成を
示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a detection circuit of a speed detection device according to a conventional example.

【図5】同回路における各信号のタイミング・チャート
である。
FIG. 5 is a timing chart of each signal in the same circuit.

【図6】同回路においてサンプリング期間毎に計数され
る速度パルスを示す図である。
FIG. 6 is a diagram showing velocity pulses counted in each sampling period in the same circuit.

【図7】同回路においてサンプリング期間を短くしたと
きに計数される速度パルスを示す図である。
FIG. 7 is a diagram showing velocity pulses counted when the sampling period is shortened in the same circuit.

【符号の説明】[Explanation of symbols]

1 波形整形回路 2,12 カウンタ回路 3,13 ラッチ回路 4 基準クロック発生回路 11 Dフリップフロップ 14 ANDゲート 1 waveform shaping circuit 2, 12 counter circuit 3, 13 latch circuit 4 reference clock generation circuit 11 D flip-flop 14 AND gate

Claims (2)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 輸送装置の車輪の回転に伴って速度発電
機から出力される速度パルスに基づき、該輸送装置の速
度および加速度・減速度を検出する検出装置において、 前記速度パルスの出力パルス数を計数する計数手段と、 所定のクロックパルスのクロック数を計数する計時手段
と、 所定のサンプリング期間毎に前記計数手段の計数値を保
持する第1の保持手段と、 前記速度パルスの一周期毎に前記計時手段の計数値を保
持する第2の保持手段と、 前記第1の保持手段によって保持された前記サンプリン
グ期間の開始時点と終了時点の計数値の差を算出し、こ
の結果を該サンプリング期間における速度パルス計数値
として出力する第1の減算手段と、 前記第2の保持手段によって保持された前記サンプリン
グ期間の開始時点と終了時点の計数値の差を算出し、こ
の結果を前記速度パルス計数値に対応する期間の計時値
として出力する第2の減算手段と、 前記速度パルス計数値と前記計時値とに基づき、前記輸
送装置の走行速度を算出する第1の演算手段と、 前記第1の演算装置によって算出された隣接する2つの
サンプリング期間における走行速度に基づき、前記輸送
装置の加速度あるいは減速度を算出する第2の演算手段
とを具備することを特徴とする速度検出装置。
1. A detection device for detecting the speed and acceleration / deceleration of the transportation device based on the speed pulse output from a velocity generator in accordance with the rotation of the wheels of the transportation device, wherein the number of output pulses of the velocity pulse is A counting means for counting the number of clocks of a predetermined clock pulse, a first holding means for holding the count value of the counting means for each predetermined sampling period, and for each cycle of the speed pulse Second holding means for holding the count value of the timekeeping means, and a difference between the count values at the start time point and the end time point of the sampling period held by the first holding means, and the result is sampled. A first subtracting means for outputting as a velocity pulse count value in the period, and a total of the start time point and the end time point of the sampling period held by the second holding means. Second subtraction means for calculating a difference between the numerical values and outputting the result as a time count value of a period corresponding to the speed pulse count value, and traveling of the transportation device based on the speed pulse count value and the time count value. First calculating means for calculating speed, and second calculating means for calculating acceleration or deceleration of the transportation device based on traveling speeds in two adjacent sampling periods calculated by the first calculating device. A speed detecting device comprising:
【請求項2】 請求項1記載の速度検出装置において、 前記サンプリング期間毎に前記第1および第2の保持手
段に保持されている値を取り込み、これらを記憶する記
憶手段を備え、 前記第1および第2の減算手段は、前記サンプリング期
間の整数倍の所定の演算期間について計数値の差を算出
し、 前記第1の演算手段は、前記第1および第2の減算手段
の算出結果に基づき、前記演算期間について走行速度を
算出し、 前記第2の演算手段は、前記第1の演算装置によって算
出された隣接する2つの演算期間における走行速度に基
づき、前記加速度あるいは減速度を算出することを特徴
とする速度検出装置。
2. The speed detection device according to claim 1, further comprising a storage unit that takes in the values held in the first and second holding units for each sampling period and stores the values. And the second subtraction means calculates a difference between the count values for a predetermined calculation period that is an integral multiple of the sampling period, and the first calculation means calculates the difference based on the calculation results of the first and second subtraction means. Calculating a traveling speed in the calculation period, and the second calculating means calculating the acceleration or deceleration based on the traveling speed in the two adjacent calculation periods calculated by the first calculation device. A speed detection device characterized by.
JP1993038595U 1993-07-14 1993-07-14 Speed detector Expired - Lifetime JP2606805Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1993038595U JP2606805Y2 (en) 1993-07-14 1993-07-14 Speed detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1993038595U JP2606805Y2 (en) 1993-07-14 1993-07-14 Speed detector

Publications (2)

Publication Number Publication Date
JPH078772U true JPH078772U (en) 1995-02-07
JP2606805Y2 JP2606805Y2 (en) 2001-01-29

Family

ID=12529649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1993038595U Expired - Lifetime JP2606805Y2 (en) 1993-07-14 1993-07-14 Speed detector

Country Status (1)

Country Link
JP (1) JP2606805Y2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000180482A (en) * 1998-12-15 2000-06-30 Koko Res Kk Frequency variation computing unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000180482A (en) * 1998-12-15 2000-06-30 Koko Res Kk Frequency variation computing unit

Also Published As

Publication number Publication date
JP2606805Y2 (en) 2001-01-29

Similar Documents

Publication Publication Date Title
US4992730A (en) Method of computing the rotating speed of a rotating body based upon pulse train signals from a rotating speed sensor
JPH087248B2 (en) Device for obtaining numerical values representing the relationship between pulse trains
JPH03261865A (en) Method and apparatus for measuring vehicle
JPS5913957A (en) Speed detecting circuit
JPH078772U (en) Speed detector
JP2945284B2 (en) Speed detector
JPH078773U (en) Speed detector
EP1189065A1 (en) Wheel speed sensor
JP3620283B2 (en) Speed calculator
JP3173115B2 (en) Speed detection apparatus and method
JP3072820B2 (en) Vehicle speed detection device
JPH01193650A (en) Speed calculation system for vehicle
JPS649589B2 (en)
JPH0618538A (en) Speed detector
KR100314445B1 (en) vehicle speed measureing method and device by use of measuring method for variable reference clock
JP2002162407A (en) Measuring method for distance synchronization system
JPH0377067A (en) Rotating speed measuring instrument
JP2530304Y2 (en) Vehicle detection device
JP2974933B2 (en) Vehicle travel position detection device
SU931515A1 (en) Locomotive speed measuring device
JPH0650754Y2 (en) Brake braking test equipment
JP2744880B2 (en) Pulse width measurement device and rotation speed measurement device
JP2587762Y2 (en) Wheel speed measurement device
KR100760867B1 (en) A calculation system of a vehicle speed
RU2307326C1 (en) Device for functioning of information-computing system of automobile

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20001003

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071102

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081102

Year of fee payment: 8

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081102

Year of fee payment: 8