JPH01248065A - Device for calculating accelerating and decelerating speed - Google Patents
Device for calculating accelerating and decelerating speedInfo
- Publication number
- JPH01248065A JPH01248065A JP7345788A JP7345788A JPH01248065A JP H01248065 A JPH01248065 A JP H01248065A JP 7345788 A JP7345788 A JP 7345788A JP 7345788 A JP7345788 A JP 7345788A JP H01248065 A JPH01248065 A JP H01248065A
- Authority
- JP
- Japan
- Prior art keywords
- speed
- acceleration
- deceleration
- moving object
- accelerating
- 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
Links
Landscapes
- Optical Radar Systems And Details Thereof (AREA)
- Control Of Velocity Or Acceleration (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は車両等の移動物体の加減速度を演算するための
装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a device for calculating acceleration/deceleration of a moving object such as a vehicle.
(従来の技術)
加減速度を演算するに当たって移動物体の速度を求める
には通常、物体の移動を司る回転メンバと共に回転する
パルスギヤの歯の通過を光電検出等により検出して、移
動物体の速度に対応した周波数のパルス信号を生ぜしめ
、このパルス信号の一定時間中におけるパルス数から移
動物体の速度を求めるのが普通である。そして、このよ
うにして求めた速度と、同様にして求めた前回の速度と
の差を速度演算インタバルで除して移動物体の加減速度
を演算する。(Prior art) To determine the speed of a moving object when calculating acceleration/deceleration, the speed of the moving object is usually determined by photoelectric detection or the like to detect the passage of the teeth of a pulse gear that rotates together with a rotating member that controls the movement of the object. Usually, a pulse signal of a corresponding frequency is generated, and the speed of the moving object is determined from the number of pulses of this pulse signal during a certain period of time. Then, the acceleration/deceleration of the moving object is calculated by dividing the difference between the speed thus calculated and the previous speed similarly calculated by the speed calculation interval.
(発明が解決しようとする課題)
しかしてこの方式では、上記速度演算インタバルを上記
パルス信号の最大周期よりも長(する必要があり、移動
物体の速度が20km/h以下のような低速でパルス信
号の周期が長くなる時(通常のパルスギヤを用い、速度
が20kin/hである場合のパルス周期は150II
lsec程度)をも想定すると、速度、従って加減速度
の演算インタバルを150m5ec以上にするを要する
。このことは、加減速度演算の応答性が悪くなることを
意味し、加減速度を因子とする制御系の応答遅れを免れ
ない。(Problem to be Solved by the Invention) However, in the lever method, it is necessary to make the speed calculation interval longer than the maximum period of the pulse signal, and the pulse signal is pulsed at a low speed such as when the speed of the moving object is 20 km/h or less. When the signal period becomes long (using a normal pulse gear and the speed is 20 kin/h, the pulse period is 150 II
Assuming that the speed is about 150 msec), it is necessary to set the calculation interval of the speed, and thus the acceleration/deceleration, to 150 m5ec or more. This means that the responsiveness of acceleration/deceleration calculations deteriorates, and a response delay in the control system that uses acceleration/deceleration as a factor is unavoidable.
この問題解決のため、パルス信号の周期毎にその長さか
ら移動物体の速度を求め、このようにして求めた速度と
、同様にして求めた前回の速度との差をパルス周期で除
して移動物体の加減速度を演算することが考えられる。To solve this problem, find the speed of the moving object from the length of each pulse signal period, and divide the difference between the speed found in this way and the previous speed found in the same way by the pulse period. One possibility is to calculate the acceleration/deceleration of a moving object.
しかしこの方式では、速度、従って加減速度の演算イン
タバルがパルス周期以上にはならないため上記の問題を
生じないものの、逆に移動物体速度が高くてパルス信号
の周期が短くなった時に加減速度の演算精度が悪くなる
のを否めない。However, with this method, the calculation interval for velocity, and thus acceleration/deceleration, does not exceed the pulse period, so the above problem does not occur.However, conversely, when the moving object speed is high and the pulse signal period becomes short, acceleration/deceleration calculation is performed. It cannot be denied that the accuracy deteriorates.
(課題を解決するための手段)
本発明は前記両方式を移動物体の速度に応じ使い分けて
上述の問題を生ずることのないようにした加減速度演算
装置を提案するもので、第1図に概念を示す如く、
加減速度を求めるべき移動物体の速度に対応した周波数
のパルス信号から該移動物体の加減速度を演算するため
の装置において、
前記パルス信号の周期から求めた速度の変化割合を加減
速度とする第1の加減速度演算手段と、前記パルス信号
の所定時間中におけるパルス数から求めた速度の変化割
合を加減速度とする第2の加減速度演算手段と、
前記移動物体の速度が低い間は第1の加減速度演算手段
からの演算値を、又移動物体の速度が高い間は第2の加
減速度演算手段からの演算値を使用する切換手段とを設
けた構成に特徴づけられる。(Means for Solving the Problems) The present invention proposes an acceleration/deceleration calculation device that uses both of the above equations depending on the speed of a moving object to avoid the above-mentioned problems. As shown in the following, in a device for calculating the acceleration/deceleration of a moving object from a pulse signal of a frequency corresponding to the speed of the moving object whose acceleration/deceleration is to be determined, the rate of change in speed determined from the period of the pulse signal is calculated as the acceleration/deceleration. a first acceleration/deceleration calculation means that calculates acceleration/deceleration as an acceleration/deceleration rate determined from the number of pulses of the pulse signal during a predetermined period of time; is characterized by a switching means that uses the calculated value from the first acceleration/deceleration calculating means and the calculated value from the second acceleration/deceleration calculating means while the speed of the moving object is high.
(作 用)
第1の加減速度演算手段は、移動物体の速度に対応した
周波数のパルス信号における周期から当該速度を求め、
その変化割合から加減速度を演算する。一方、第2の加
減速度演算手段は、パルス信号の所定時間中におけるパ
ルス数から移動物体の速度を求め、その変化割合から加
減速度を演算する。(Function) The first acceleration/deceleration calculation means calculates the speed of the moving object from the period in the pulse signal of the frequency corresponding to the speed of the moving object,
Acceleration/deceleration is calculated from the rate of change. On the other hand, the second acceleration/deceleration calculation means calculates the speed of the moving object from the number of pulses of the pulse signal during a predetermined period of time, and calculates the acceleration/deceleration from the rate of change.
切換手段は、移動物体の速度が低い間第1の加減速度演
算手段からの演算値を、又移動物体の速度が高い間第2
の加減速度演算手段からの演算値を使用して移動物体の
加減速度とする。The switching means uses the calculated value from the first acceleration/deceleration calculating means when the speed of the moving object is low, and uses the calculated value from the second acceleration/deceleration calculating means when the speed of the moving object is high.
The calculated value from the acceleration/deceleration calculation means is used as the acceleration/deceleration of the moving object.
よって、パルス信号の周期が長くなる移動物体の低速度
域で加減速度の演算インタバルがパルス信号の周期を越
えないこととなり、演算の応答性が悪くなるのを防止し
得る。又、パルス信号の周期が短くなる移動物体の高速
度域でパルス信号の周期が短くなっても、加減速度の演
算インタバルをこの短い周期に関係なく前記の所定時間
に保つこととなり、加減速度の演算精度が悪くなるのを
防止し得る。これがため、移動物体の全速度域に亘り加
減速度を応答遅れや精度低下を生ずることなしに演算す
ることができる。Therefore, in the low speed range of the moving object where the period of the pulse signal is long, the calculation interval of acceleration/deceleration does not exceed the period of the pulse signal, and it is possible to prevent the responsiveness of calculation from becoming poor. Furthermore, even if the period of the pulse signal becomes short in the high speed range of a moving object where the period of the pulse signal becomes short, the calculation interval of acceleration/deceleration is kept at the predetermined time mentioned above regardless of this short period, and the acceleration/deceleration is This can prevent calculation accuracy from deteriorating. Therefore, the acceleration/deceleration of the moving object can be calculated over the entire speed range without causing a response delay or a decrease in accuracy.
(実施例) 以下、本発明の実施例を図面に基づき詳細に説明する。(Example) Hereinafter, embodiments of the present invention will be described in detail based on the drawings.
第2図は本発明装置の一実施例で、本例ではマイクロコ
ンピュータ1により移動物体(図示せず)の加減速度G
を演算するよう構成する。このマイクロコンピュータl
は周知の如(中央処理ユニッ) (CP U) 2とラ
ンダムアクセスメモリ(RAM)3と、リードオンリメ
モリ (ROM)4と、入力制御回路5と、出力制御回
路6とよりなり、速度センサ7からの信号■を入力制御
回路5に入力されて加減速度Gを演算し、演算結果を出
力制御回路6より出力するものとする。FIG. 2 shows an embodiment of the device of the present invention. In this example, the microcomputer 1 controls the acceleration/deceleration G of a moving object (not shown).
Configure to calculate. This microcomputer
As is well known, it consists of a (central processing unit) (CPU) 2, a random access memory (RAM) 3, a read-only memory (ROM) 4, an input control circuit 5, an output control circuit 6, and a speed sensor 7. It is assumed that the signal (2) from the input control circuit 5 is inputted to the input control circuit 5, the acceleration/deceleration G is calculated, and the calculation result is outputted from the output control circuit 6.
速度センサ7は、上記移動物体の移動を司る回転メンバ
と共に回転するパルスギヤを具え、物体の移動中パルス
ギヤの歯の通過を光電検出して移動物体の速度に対応し
た周波数の例えば第3図の如きパルス信号(速度信号)
■を出力するものとする。The speed sensor 7 includes a pulse gear that rotates together with the rotating member that controls the movement of the moving object, and photoelectrically detects the passage of teeth of the pulse gear while the object is moving, and detects a frequency corresponding to the speed of the moving object, for example, as shown in FIG. 3. Pulse signal (speed signal)
■ shall be output.
CPU2は回路5を経てこのパルス信号■を入力され、
この入力情報に基づき第4図乃至第6図の制御プログラ
ムを実行して移動物体の加減速度Gを演算し、この演算
中ROM4より必要情報を読出したり、RAM3に対す
る過程情報の書込み及び読出しを行う。The CPU 2 receives this pulse signal ■ via the circuit 5,
Based on this input information, the control programs shown in FIGS. 4 to 6 are executed to calculate the acceleration/deceleration G of the moving object, and during this calculation, necessary information is read from the ROM 4, and process information is written to and read from the RAM 3. .
第4図は一定時間毎に繰返し実行されるメインルーチン
で、先ずステップ40において第5図に示すサブルーチ
ンの実行により低速域用加減速度GLを演算し、次のス
テップ50において第6図に示すサブルーチンの実行に
より高速域用加減速度GHを演算する。FIG. 4 shows a main routine that is repeatedly executed at regular intervals. First, in step 40, the subroutine shown in FIG. 5 is executed to calculate the acceleration/deceleration GL for the low speed range, and in the next step 50, the subroutine shown in FIG. By executing the above, the acceleration/deceleration for high speed range GH is calculated.
第5図のサブルーチンでは、先ずステップ41において
速度信号■が立上がったか否かをチエツクする。立上が
りがなければ制御をそのまま第4図のメインルーチンに
戻すが、立上がりがあればステップ42で今サイクルの
車速vLを第3図に示す周期Tと係数αとから■、=α
×1/Tの演算により求める。次のステップ43では、
このようにして求めた車速■、と、同様にして求めた前
回の車速■、。5.(第3図参照)との差を周期Tで除
して低速域用加減速度GLを求める。次いでステップ4
4において、■、を■、。、とじて、RAM3に格納し
、次のサイクルに備える。In the subroutine of FIG. 5, first, in step 41, it is checked whether the speed signal (2) has risen. If there is no rise, the control returns to the main routine shown in FIG. 4, but if there is a rise, the vehicle speed vL of the current cycle is calculated from the cycle T and the coefficient α shown in FIG. 3 in step 42, =α.
It is determined by the calculation of ×1/T. In the next step 43,
The vehicle speed ■, obtained in this way, and the previous vehicle speed ■, obtained in the same manner. 5. (See FIG. 3) is divided by the period T to obtain the acceleration/deceleration GL for the low speed range. Then step 4
In 4, ■, and ■. , and stored in the RAM 3 in preparation for the next cycle.
第6図のサブルーチンでは、先ずステップ51において
内蔵タイマTMが一定の所定時間Tc未満を示している
か否かをチエツクする。そうであればステップ52で当
該タイマTMをインクリメントし、ステップ53で速度
信号■の立上がりを検知する度にその回数、つまりタイ
マTMの計時中における速度信号■のパルス数2をステ
ップ54でカウントアツプする。In the subroutine of FIG. 6, first, in step 51, it is checked whether the built-in timer TM indicates less than a certain predetermined time Tc. If so, the timer TM is incremented in step 52, and each time the rising edge of the speed signal ■ is detected in step 53, the number of pulses of the speed signal ■ while the timer TM is measuring is counted up in step 54. do.
タイマTMが設定時間T、を示した処でステップ55で
タイマTMをクリアする。かくて、タイマTMは例えば
第3図に示す設定時間Tc毎にクリアされ、その度にス
テップ56で速度■8を設定時間Tc中のパルス数pと
係数βとから■イ=β×pの演算により求めると共に、
ステップ57でこのようにして求めた速度■□と、同様
にして求めた前回の速度■、。LD (第3図参照)と
の差を設定時間T、で除して高速域用加減速度G)Iを
求める。次でステップ58において■。をV ll0L
DとしてRAM3に格納し、パルス数カウント値pを0
にリセットして次に備える。When the timer TM indicates the set time T, the timer TM is cleared in step 55. Thus, the timer TM is cleared, for example, at every set time Tc shown in FIG. In addition to finding it by calculation,
The speed ■□ obtained in this manner in step 57 and the previous speed ■, obtained in the same manner. LD (see Figure 3) is divided by the set time T to find the acceleration/deceleration G)I for high speed range. Next, in step 58 ■. V ll0L
D, and set the pulse number count value p to 0.
Reset and prepare for the next time.
上記GL+ GMの演算後、制御は第4図に示すメイン
ルーチンのステップ60に戻り、ここで移動物体の速度
■4が設定速度75以上の高速域か否(低速域)かをチ
エツクする。高速域ではステップ70において前記のG
)Iを加減速度Gにセットし、V、<V、の低速域では
ステップ80において前記のGLを加減速度Gにセット
する。そして、ステップ90で加減速度Gを出力制御回
路6(第2図参照)より出力する。After the calculation of GL+GM, the control returns to step 60 of the main routine shown in FIG. 4, where it is checked whether the speed 4 of the moving object is in the high speed range (low speed range) or higher than the set speed 75. In the high speed range, in step 70, the G
)I is set to acceleration/deceleration G, and in a low speed range of V<V, the aforementioned GL is set to acceleration/deceleration G in step 80. Then, in step 90, the acceleration/deceleration G is outputted from the output control circuit 6 (see FIG. 2).
(発明の効果)
かくして本発明装置は上述の如く、移動物体の低速度域
ではパルス信号周期から求めた速度の変化割合を加減速
度とし、移動物体の高速度域ではパルス信号の所定時間
中におけるパルス数から求めた速度の変化割合を加減速
度とする構成にしたから、パルス信号周期が長くなる低
速度域で加減速度の演算インタバルがパルス信号周期を
越えないこととなって演算の応答性が悪くなるのを防止
し得るし、パルス信号周期が短くなる高速度域で加減速
度の演算インタバルがこの短いパルス信号周期に関係な
く所定時間に保たれることとなって加減速度の演算精度
が悪くなるのを防止することができる。よって全速度域
に亘り加減速度を応答遅れや精度低下を生ずることなし
に演算することができる。(Effects of the Invention) Thus, as described above, the device of the present invention uses the rate of change in speed determined from the pulse signal period as the acceleration/deceleration in the low speed range of the moving object, and uses the rate of change in the speed determined from the pulse signal period as the acceleration/deceleration in the high speed range of the moving object during the predetermined time of the pulse signal. Since the acceleration/deceleration is configured to be the rate of change in speed determined from the number of pulses, the calculation interval for acceleration/deceleration does not exceed the pulse signal period in the low speed range where the pulse signal period is long, which improves the responsiveness of the calculation. In the high speed range where the pulse signal period becomes short, the acceleration/deceleration calculation interval is kept at a predetermined time regardless of the short pulse signal period, resulting in poor acceleration/deceleration calculation accuracy. It is possible to prevent this from happening. Therefore, acceleration and deceleration can be calculated over the entire speed range without causing a response delay or a decrease in accuracy.
第1図は本発明加減速度演算装置の概念図、第2図は本
発明装置の一実施例を示すブロック線図、
第3図は同例における速度センサの出力波形図、第4図
乃至第6図は同例におけるマイクロコンピュータの制御
プログラムを示すフローチャートである。
1・・・マイクロコンピュータ
2・・・中央処理ユニッ) (CPU)3・・・ランダ
ムアクセスメモリ(RAM)4・・・リードオンリメモ
リ (ROM)5・・・入力制御回路
6・・・出力制御回路
7・・・速度センサ
ト
剖
大
↓」
・咳
禦FIG. 1 is a conceptual diagram of the acceleration/deceleration calculation device of the present invention, FIG. 2 is a block diagram showing an embodiment of the device of the present invention, FIG. 3 is an output waveform diagram of the speed sensor in the same example, and FIGS. FIG. 6 is a flowchart showing the control program of the microcomputer in the same example. 1... Microcomputer 2... Central processing unit) (CPU) 3... Random access memory (RAM) 4... Read only memory (ROM) 5... Input control circuit 6... Output control Circuit 7…Speed sensor autopsy ↓” ・Cough
Claims (1)
周波数のパルス信号から該移動物体の加減速度を演算す
るための装置において、 前記パルス信号の周期から求めた速度の変化割合を加減
速度とする第1の加減速度演算手段と、前記パルス信号
の所定時間中におけるパルス数から求めた速度の変化割
合を加減速度とする第2の加減速度演算手段と、 前記移動物体の速度が低い間は第1の加減速度演算手段
からの演算値を、又移動物体の速度が高い間は第2の加
減速度演算手段からの演算値を使用する切換手段とを設
けてなることを特徴とする加減速度演算装置。1. In a device for calculating the acceleration/deceleration of a moving object from a pulse signal of a frequency corresponding to the speed of the moving object whose acceleration/deceleration is to be determined, a first device whose acceleration/deceleration is a rate of change in the speed determined from the period of the pulse signal; a second acceleration/deceleration calculation means whose acceleration/deceleration is an acceleration/deceleration rate determined from the number of pulses of the pulse signal during a predetermined period of time; An acceleration/deceleration calculation device comprising: a switching means for using the calculation value from the acceleration/deceleration calculation means, and for using the calculation value from the second acceleration/deceleration calculation means while the speed of the moving object is high.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7345788A JPH0740037B2 (en) | 1988-03-29 | 1988-03-29 | Acceleration / deceleration calculation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7345788A JPH0740037B2 (en) | 1988-03-29 | 1988-03-29 | Acceleration / deceleration calculation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01248065A true JPH01248065A (en) | 1989-10-03 |
| JPH0740037B2 JPH0740037B2 (en) | 1995-05-01 |
Family
ID=13518794
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7345788A Expired - Lifetime JPH0740037B2 (en) | 1988-03-29 | 1988-03-29 | Acceleration / deceleration calculation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0740037B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105738654A (en) * | 2016-02-01 | 2016-07-06 | 中国科学院空间应用工程与技术中心 | Acceleration measurement device and data acquisition method based on range switching |
-
1988
- 1988-03-29 JP JP7345788A patent/JPH0740037B2/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105738654A (en) * | 2016-02-01 | 2016-07-06 | 中国科学院空间应用工程与技术中心 | Acceleration measurement device and data acquisition method based on range switching |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0740037B2 (en) | 1995-05-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5065612A (en) | Method of correcting zero point of gyro and apparatus therefor | |
| JPS59210373A (en) | Wheel speed arithmetic device | |
| JPH04344466A (en) | Detecting device for velocity of elevator | |
| US4418305A (en) | Velocity feedback circuit | |
| KR960005344B1 (en) | Speed/ rpm transmission | |
| JP2567548B2 (en) | Inter-vehicle distance control device | |
| JPH0740037B2 (en) | Acceleration / deceleration calculation device | |
| JP2712045B2 (en) | Rotational speed measuring device | |
| JPS6319831B2 (en) | ||
| JP3213796B2 (en) | Servo motor controller | |
| SU960738A1 (en) | Positioning device | |
| JPH0415912B2 (en) | ||
| JPS60122375A (en) | Measuring method of vehicle speed | |
| SU1124253A1 (en) | Positioning device | |
| JPH03295469A (en) | Vehicle speed detecting device | |
| SU1133604A1 (en) | Device for counting moving items | |
| SU914380A1 (en) | DEVICE FOR AUTOMATIC CONTROL OF DRAWING TRAIN1 | |
| JPS648766B2 (en) | ||
| JPH0141943B2 (en) | ||
| JPS62169256A (en) | Microcomputer for vehicle | |
| JPH0342812B2 (en) | ||
| JPH0141944B2 (en) | ||
| JPH0714901Y2 (en) | Engine rotation signal processor | |
| JPH11281660A (en) | Wheel speed detection device | |
| JPH02141024A (en) | Method for counting vehicle speed pulse |