JPH1183883A - Wheel speed computation device - Google Patents

Wheel speed computation device

Info

Publication number
JPH1183883A
JPH1183883A JP24798197A JP24798197A JPH1183883A JP H1183883 A JPH1183883 A JP H1183883A JP 24798197 A JP24798197 A JP 24798197A JP 24798197 A JP24798197 A JP 24798197A JP H1183883 A JPH1183883 A JP H1183883A
Authority
JP
Japan
Prior art keywords
wheel speed
edge
rectangular wave
pulse
value
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
JP24798197A
Other languages
Japanese (ja)
Inventor
Akihiko Yamashita
明彦 山下
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.)
Hitachi Unisia Automotive Ltd
Original Assignee
Unisia Jecs 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 Unisia Jecs Corp filed Critical Unisia Jecs Corp
Priority to JP24798197A priority Critical patent/JPH1183883A/en
Publication of JPH1183883A publication Critical patent/JPH1183883A/en
Pending legal-status Critical Current

Links

Landscapes

  • Regulating Braking Force (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the computation accuracy of wheel speed by nullifying an edge generating subsequently when edges of same kind generate for a specified time in rising and falling edges. SOLUTION: When a sine-wave shaped wheel speed signal is output from a wheel speed sensor according to the rotation of a wheel, a rectangular wave is formed out of the sine wave from the sensor. Then, when pulse measurement processing means detects a rising or falling edge of the rectangular wave, measurement of pulse number is carried out, and furthermore wheel speed estimation means computes the wheel speed on the basis of the number of pulses measured in a specified cycle. In performing such the computation of wheel speed, compensation processing part determines the subsequent edge to be noise and nullifies it when edges of same kind generate in the rectangular wave formed by the rectangular forming means.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】 本発明は、アンチロックブ
レーキ(以下、ABSと記す)システムなどに使用さ
れ、車輪速度センサからの車輪速度信号から車輪速度を
演算する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for calculating a wheel speed from a wheel speed signal from a wheel speed sensor, which is used in an anti-lock brake (hereinafter, referred to as ABS) system or the like.

【0002】[0002]

【従来の技術】 車輪速度演算装置として、電子回路の
ローパスフィルタにより車輪速度センサ信号のノイズ成
分を除去するようにした装置、あるいは、ソフトウエア
でディジタルフィルタを構成し、ノイズ成分を除去する
ようにした装置は一般的である。
2. Description of the Related Art As a wheel speed calculating device, a device configured to remove a noise component of a wheel speed sensor signal by a low-pass filter of an electronic circuit, or a digital filter configured by software to remove a noise component. Such a device is common.

【0003】[0003]

【発明が解決しようとする課題】 しかしながら、この
ような従来の車輪速度演算装置にあっては、電子回路の
ローパスフィルタは、車輪速度センサ信号のノイズ成分
を除去できても、ローパスフィルタ回路の出力段からマ
イクロコンピュータ(以下CPUと記す)の入力ポート
に至る間に、外的要因によりノイズが重畳した場合、C
PUはそのノイズ成分を車輪速度センサ信号として演算
を実行し、実際とはかけ離れた車輪速度を演算すること
が考えられ、この場合、ABS制御に不具合が生じる可
能性がある。また、ソフトウエアーでデジタルフィルタ
を構成した場合は、位相遅れが発生し、リアルタイムな
制御ができなくなるか、あるいは、サンプリング時間の
節約から有効的なフィルタリングができず、制御性劣化
の可能性が考えられる。本発明は、上述のような問題点
に着目してなされたもので、車輪速度演算装置におい
て、外的要因によりノイズが重畳しても実際の車輪速度
に近い値を演算することができるようにするとともに、
位相遅れが生じることもないようにして、車輪速度の演
算精度の向上を図ることを目的としている。
However, in such a conventional wheel speed calculating device, even if the low-pass filter of the electronic circuit can remove the noise component of the wheel speed sensor signal, the output of the low-pass filter circuit can be reduced. If noise is superimposed due to external factors between the stage and the input port of the microcomputer (hereinafter referred to as CPU), C
It is conceivable that the PU performs a calculation using the noise component as a wheel speed sensor signal and calculates a wheel speed far from the actual wheel speed. In this case, there is a possibility that a malfunction occurs in the ABS control. Also, if a digital filter is configured by software, phase delay will occur and real-time control will not be possible, or effective filtering will not be possible due to saving of sampling time, and controllability may deteriorate. Can be SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems. In a wheel speed calculation device, a value close to an actual wheel speed can be calculated even when noise is superimposed due to an external factor. Along with
It is an object of the present invention to improve the calculation accuracy of the wheel speed without causing a phase delay.

【0004】[0004]

【課題を解決するための手段】 上記目的を達成するた
めに、請求項1記載の発明は、車輪速度センサからの正
弦波状の車輪速度信号を入力して矩形波に成形する矩形
波成形手段と、この矩形波成形手段で形成された矩形波
の立ち上がりエッジあるいは立ち下がりエッジを検出し
て、パルス計測処理を開始するパルス計測処理手段と、
所定周期内に計測されたパルス数に基づいて車輪速度を
推定する車輪速度推定手段と、を備えた車輪速度演算装
置において、前記立ち上がりエッジ・立ち下がりエッジ
のうち同一種類のエッジが、所定時間内に複数発生した
場合には、後に発生したエッジを無効とする補正処理部
を設けたことを特徴とする手段とした。請求項2記載の
発明は、請求項1記載の車輪速度演算装置において、前
記補正処理部の無効判断基準となる前記所定時間を、車
輪速度が車両性能あるいは制御対象に基づいて設定され
た所定の最大値である時、矩形波成形手段により形成さ
れる矩形波の周期とした。
Means for Solving the Problems In order to achieve the above object, the invention according to claim 1 comprises a rectangular wave shaping means for inputting a sine wave wheel speed signal from a wheel speed sensor and shaping it into a square wave. A pulse measurement processing unit that detects a rising edge or a falling edge of the rectangular wave formed by the rectangular wave shaping unit and starts a pulse measurement process;
Wheel speed estimating means for estimating the wheel speed based on the number of pulses measured within a predetermined period, wherein the same type of edge among the rising edge and the falling edge is When a plurality of occurrences occur, a correction processing unit for invalidating an edge that occurs later is provided. According to a second aspect of the present invention, in the wheel speed computing device according to the first aspect, the predetermined time serving as an invalid determination criterion of the correction processing unit is a predetermined time when a wheel speed is set based on vehicle performance or a control target. When it was the maximum value, it was set as the period of the rectangular wave formed by the rectangular wave shaping means.

【0005】[0005]

【作用】 車輪の回転に伴って車輪速度センサから正弦
波状の車輪速度信号が出力されると、車輪速度演算装置
では、矩形波成形手段により車輪速度センサからの正弦
波から矩形波を成形する。そして、パルス計測処理手段
では、矩形波の立ち上がりエッジあるいは立ち下がりエ
ッジエッジを検出すると、パルスの数の計測を開始し、
さらに、車輪速度推定手段が、所定周期内に計測される
パルス数に基づいて車輪速度を演算する。このような車
輪速度の演算を行うにあたり、補正処理部では、前記矩
形波成形手段により形成される矩形波において、同一種
類のエッジが複数発生した場合には、後に発生したエッ
ジをノイズなどと判断して無効とする。よって、パルス
計測処理手段では、この後に発生したエッジに基づいて
パルス数の計測を開始することがないものであり、すな
わち、この後に発生したエッジに基づく車輪速度の演算
が成されないものである。なお、上述のように補正処理
部が、エッジを無効と判断するときの基準となる所定時
間とは、本来エッジが複数生じることがあり得ない短い
時間であって、例えば、請求項2に記載の発明のよう
に、車輪速度が車両性能あるいは制御対象に基づいて設
定された所定の最大値である時、矩形波成形手段により
形成される矩形波の周期とする。したがって、同一種類
のエッジが出力することがあり得ない時間内に、同一種
類のエッジが出力された場合には、これを異常と判断し
て無効と処理することができる。
When a sine-wave-shaped wheel speed signal is output from the wheel speed sensor with the rotation of the wheel, the wheel speed calculating device forms a rectangular wave from the sine wave from the wheel speed sensor by the rectangular wave forming means. Then, when the pulse measurement processing means detects a rising edge or a falling edge edge of the rectangular wave, it starts counting the number of pulses,
Further, the wheel speed estimating means calculates the wheel speed based on the number of pulses measured within a predetermined cycle. In performing such a calculation of the wheel speed, when a plurality of edges of the same type occur in the rectangular wave formed by the rectangular wave shaping unit, the correction processing unit determines that the later generated edge is noise or the like. And invalidate. Therefore, the pulse measurement processing means does not start measuring the number of pulses based on the edge generated thereafter, that is, does not calculate the wheel speed based on the edge generated thereafter. In addition, as described above, the predetermined time serving as a reference when the correction processing unit determines that an edge is invalid is a short time in which a plurality of edges cannot occur originally. When the wheel speed is a predetermined maximum value set on the basis of the vehicle performance or the control target as in the invention of the third aspect, the period of the rectangular wave formed by the rectangular wave forming means is set. Therefore, when the same type of edge is output within a time when the same type of edge cannot be output, it can be determined that the edge is abnormal and processed as invalid.

【0006】[0006]

【発明の実施の形態】 以下に、本発明の実施の形態に
ついて説明する。なお、本発明をABS制御装置に適用
した形態を例に挙げて説明する。図1は、車両のABS
装置を示すブロック図であって、図において、6a,6
b,6cは車輪速度センサ、7はブレーキスイッチであ
り、これらはコントロールユニット1の入力インタフェ
イス3に接続されている。なお、前記車輪側センサ6a
〜6cは、左右各前輪と後輪への駆動力伝達途中との合
計3箇所に設けられている。
Embodiments of the present invention will be described below. A description will be given of an example in which the present invention is applied to an ABS control device. Figure 1 shows the vehicle ABS
It is a block diagram which shows an apparatus, In the figure, 6a, 6
b and 6c are wheel speed sensors, 7 is a brake switch, and these are connected to the input interface 3 of the control unit 1. The wheel side sensor 6a
6c are provided at a total of three places: the left and right front wheels and the midway of driving force transmission to the rear wheels.

【0007】9はイグニッションスイッチであって、こ
のイグニッションスイッチ9を閉成すると、バッテリ電
源8がコントロールユニット1と接続されて、車輪速度
センサ6a〜6cの信号およびブレーキスイッチ7の信
号は、入力インタフェイス3を介してマイクロコンピュ
ータ2に入力可能となる。なお、バッテリ電源8は電源
レギュレータ5に接続され、この電源レギュレータ5
は、コントロールユニット1の動作のための電圧例えば
5Vを生成する。
Reference numeral 9 denotes an ignition switch. When the ignition switch 9 is closed, a battery power supply 8 is connected to the control unit 1, and the signals of the wheel speed sensors 6a to 6c and the signal of the brake switch 7 are input to the input interface. The data can be input to the microcomputer 2 via the face 3. The battery power supply 8 is connected to the power supply regulator 5, and the power supply
Generates a voltage for operating the control unit 1, for example, 5V.

【0008】マイクロコンピュータ2では、入力インタ
フェイス3の入力信号に基づいてROM12にメモリし
ているプログラムにより演算処理を実行し、出力インタ
フェイス4を介して、ABS油圧ユニット(以下、H/
Uと記す)16に駆動信号を出力し、システムの異常検
出時には、ワーニングランプ18に駆動信号を出力する
よう構成されている。さらに、マイクロコンピュータ2
には、ウオッチドック回路17が接続されている。この
ウオッチドック回路17は、マイクロコンピュータ2か
らのプログラム・ラン信号を監視し、プログラム・ラン
信号が停止した時には、ウオッチドック回路17からマ
イクロコンピュータ2へリセット信号を出力するよう構
成されている。
[0008] The microcomputer 2 executes arithmetic processing by a program stored in the ROM 12 based on the input signal of the input interface 3, and outputs an ABS hydraulic unit (hereinafter referred to as H / H) through the output interface 4.
The drive signal is output to a warning lamp 18 when a system abnormality is detected. Furthermore, the microcomputer 2
Is connected to a watchdog circuit 17. The watchdog circuit 17 monitors the program run signal from the microcomputer 2 and outputs a reset signal from the watchdog circuit 17 to the microcomputer 2 when the program run signal stops.

【0009】図2〜図4は、それぞれ各車輪速度センサ
6a〜6cからの入力による車輪速度パルス数計測処理
フローを示す。本処理は、車輪速度パルスの立ち上がり
エッジ、または、立ち下がりエッジにより割り込み処理
を発生させ、パルス数を計測する処理である。図2は、
フロント右(FR−RH)の車輪速度パルスエッジの計
測処理フローを示し、また、図3はフロント左(FR−
LH)の図4はリヤ(RR)の各車輪速度パルスエッジ
の計測処理フローしているが、各フローはほぼ同一であ
るため図2のフローについてのみ説明し、図3,図4に
ついての説明は省略する。
FIGS. 2 to 4 show the flow charts of the wheel speed pulse number measurement processing based on the inputs from the respective wheel speed sensors 6a to 6c. This process is a process of generating an interrupt process at the rising edge or the falling edge of the wheel speed pulse and measuring the number of pulses. FIG.
FIG. 3 shows a processing flow for measuring the wheel speed pulse edge on the front right (FR-RH).
FIG. 4 of LH) shows the measurement processing flow of each wheel speed pulse edge of the rear (RR). However, since each flow is almost the same, only the flow of FIG. 2 will be described, and the description of FIGS. Is omitted.

【0010】まず、ステップ19にてレジスタのスタッ
ク退避を行い、ステップ20にて本割り込み要因の割込
フラグをクリアする。次に、ステップ21にてオーバフ
ローフラグ(OVF)がセットされているか否か(1か
否か)を判断し、セットされていない場合は24へ移行
する。セットされている場合は、ステップ22にてオー
バフローフラグOVFをクリアし、ステップ23にてオ
ーバフローカウンタ(OVF_CNT)のインクリメン
トを実施する。
First, at step 19, the stack of the register is saved, and at step 20, the interrupt flag of this interrupt factor is cleared. Next, in step 21, it is determined whether or not the overflow flag (OVF) is set (1 or not). If it is set, the overflow flag OVF is cleared in step 22 and the overflow counter (OVF_CNT) is incremented in step 23.

【0011】ステップ22,23の処理は、オーバフロ
ー割込時処理(図5)にて実施するのが本来である。し
かしながら、割り込みのプライオリティおよび割込許可
/割込禁止の状況により、オーバフロー割込処理に先駆
けて3チャンネルのいずれかのパルス計測割込処理が発
生すると、オーバフローしているのにも拘らずオーバフ
ローしていないと判断されてしまう可能性が生じてしま
い、誤ったパルス計測をしてしまうことになる。そこ
で、3チャンネルのパルス計測割込処理とオーバフロー
割込処理の4つの割り込み要因のうち、最も早く発生し
た割込処理でオーバフローカウンタ(OVF_CNT)
をカウントすることが可能なように、パルス計測割込処
理にもオーバフローの有無を認識できるステップS2
2、S23を付加した。これにより、オーバーフロー判
断を見逃すことによるパルス計測の誤判断はなくなる。
The processing in steps 22 and 23 is essentially performed in the overflow interrupt processing (FIG. 5). However, if the pulse measurement interrupt processing of any of the three channels occurs prior to the overflow interrupt processing due to the priority of the interrupt and the state of interrupt enable / disable, the overflow occurs despite the overflow. There is a possibility that it is determined that the pulse has not been detected, resulting in erroneous pulse measurement. Therefore, the overflow counter (OVF_CNT) is generated by the earliest interrupt processing of the four interrupt factors of the pulse measurement interrupt processing and the overflow interrupt processing of the three channels.
S2 that can recognize the presence or absence of an overflow also in the pulse measurement interrupt processing so that
2, S23 was added. This eliminates erroneous determination of pulse measurement due to missing the overflow determination.

【0012】次に、ステップ24にてレジスタAに、1
0msec前の時点である立ち上がりエッジ発生時のフ
リーランニングタイマ値(T3FR)を読み込み、ステ
ップ25にて今回の割り込みが立ち下がりによるものか
を判断し、立ち上がりによるものであれば27へ移行す
る。立ち下がりによるものであれば、ステップ26にて
レジスタAに、10msec前の時点である立ち下がり
エッジ発生時のフリーランニングタイマ値(T1FR)
を読み込む。
Next, at step 24, 1 is stored in the register A.
The free running timer value (T3FR) at the time of occurrence of the rising edge, which is 0 msec before, is read, and it is determined in step 25 whether or not the current interrupt is due to the fall. If it is due to the falling edge, the value of the free running timer (T1FR) at the time of occurrence of the falling edge, which is 10 msec before, is stored in the register A in step 26.
Read.

【0013】次に、ステップ27にて今回エッジ発生時
のフリーランニングタイマ値(ICRA)と前記レジス
タAの値との比較判断を行い、レジスタAの値の方が大
きい場合は、ステップ28にて、今回の値(ICRA)
とレジスタAに読み込まれている10msec前の時点
のフリーライニングタイマ値の差の絶対値と判断閾値
(P_CAN#)の比較判断を行い、前記差の絶対値が
閾値以上の場合は正常なパルス入力と判断し、ステップ
33に移行する。一方、上記差(ICRA−A)の絶対
値が閾値未満の場合は、レジスタBに“2”をセットし
てステップ32に移行する。
Next, at step 27, a comparison is made between the free running timer value (ICRA) at the time of occurrence of the current edge and the value of the register A. If the value of the register A is larger, the program proceeds to step 28. , This time (ICRA)
And the judgment value (P_CAN #) is compared with the absolute value of the difference between the free lining timer value and the judgment value (P_CAN #) at 10 msec before being read into the register A. It moves to step 33. On the other hand, if the absolute value of the difference (ICRA-A) is less than the threshold value, “2” is set in the register B, and the routine proceeds to step 32.

【0014】また、前記レジスタAの値が今回エッジ発
生時のフリーランニングタイマ値以下の場合は、ステッ
プ30にて今回の値と10msec前のフリーランニン
グタイマ値との差の絶対値と判断閾値(P_CAN#)
の比較判断を行い、閾値以上の場合は、ステップ33に
移行し、閾値未満の場合は、レジスタBに“1”をセッ
トする。
If the value of the register A is equal to or smaller than the free running timer value at the time of occurrence of the current edge, at step 30, the absolute value of the difference between the current value and the free running timer value of 10 msec before and the judgment threshold value ( P_CAN #)
If the value is equal to or larger than the threshold value, the process proceeds to step 33. If the value is smaller than the threshold value, "1" is set in the register B.

【0015】次に、ステップ32にてオーバーフローカ
ウンタ(OVF_CNT)と10msec前の時点のF
R−RH(右前輪の車輪速度)演算時のオーバーフロー
カウンタ(OVF_CNT_FR)との差と、前記レジ
スタBとの比較判断を行い、レジスタBの方が小さい場
合は、入力パルス異常と判断し、ステップ34〜36の
パルス数カウントおよび時間設定処理をキャンセルして
ステップ37に移行する。
Next, at step 32, the overflow counter (OVF_CNT) and the value of F at 10 msec before are set.
The difference between the overflow counter (OVF_CNT_FR) at the time of calculation of R-RH (wheel speed of the right front wheel) is compared with the register B, and if the register B is smaller, it is determined that the input pulse is abnormal. The pulse number counting and time setting processing of steps 34 to 36 are cancelled, and the routine goes to step 37.

【0016】これは以下のことを意味する。10mse
c間のフリーランニングタイマの差が判断閾値(P_C
AN#)未満ということは、設定よりも短い周期でパル
スが入力されたことを示すが、この時、10msec間
のオーバーフローの有無、あるいは回数により(OVF
_CNT−OVF_CNT_FR)、本当に短周期でパ
ルスが入力されたのかを判断する。すなわち、所定回数
のオーバーフローの下で判断閾値(P_CAN#)以下
の場合は、(フリーランニングタイマのデータサイズ)
*(マイコン内部のクロック周期)分は、前回と今回の
パルス入力間に時間が存在することになるので判断閾値
(P_CAN#)未満であっても、パルスの異常入力と
は言えない。また、本実施の形態で、オーバーフロー回
数判断(前記レジスタB)を2種類設定しているのは、
今回と前回のパルスのエッジ発生の種類によりオーバー
フロー状態が異なるためである。
This means the following. 10mse
c is the difference between the free running timers and the judgment threshold (P_C
AN #) indicates that a pulse is input at a cycle shorter than the set time. At this time, (OVF) is determined by the presence or absence of overflow for 10 msec or the number of times.
_CNT-OVF_CNT_FR) to determine whether a pulse is input in a really short cycle. That is, if the number of overflows is equal to or less than the judgment threshold value (P_CAN #) under a predetermined number of overflows, the data size of the free running timer
* Since there is a time between the previous pulse input and the current pulse input for (the clock cycle inside the microcomputer), even if it is less than the determination threshold (P_CAN #), it cannot be said that a pulse is abnormal. Also, in this embodiment, two types of overflow count judgment (the register B) are set.
This is because the overflow state differs depending on the type of edge generation of the current and previous pulses.

【0017】さて、ステップ32の判断で判断閾値以上
と判断した場合には、ステップ33にて今回パルス計測
時のオーバーフローカウントを記憶し、次にステップ3
4にて今回立ち上がりエッジ入力の場合は、ステップ3
5にて10msec後の演算のためのフリーランニング
タイマ値のセット(T3FR=ICRA)と立ち上がり
エッジ数カウント(N3FR=N3FR+1)を行い、
ステップ37に移行する。また、今回立ち下がりエッジ
入力の場合は、ステップ36にて10msec後の演算
のためのフリーランニングタイマ値のセット(T1FR
=ICRA)と立ち上がりエッジ数カウント(N1FR
=N1FR+1)を行い、ステップ37に移行する。最
後に、ステップ37にてスタックしていたレジスタを基
に戻して本割り込み処理を終了する。
If it is determined in step 32 that the value is equal to or greater than the determination threshold value, the overflow count at the time of the current pulse measurement is stored in step 33, and then in step 3
In the case of the rising edge input this time in step 4, step 3
At 5, the free running timer value for the operation after 10 msec is set (T3FR = ICRA) and the number of rising edges is counted (N3FR = N3FR + 1).
Move to step 37. In the case of the falling edge input this time, the free running timer value for the operation after 10 msec is set (T1FR
= ICRA) and rising edge count (N1FR)
= N1FR + 1), and the routine goes to Step 37. Finally, in step 37, the stack is returned to the original register, and the interrupt processing is terminated.

【0018】図5にCPU10内部のフリーランニング
タイマがオーバーフローした場合の処理フローを示す。
本処理は、マイコン内部のフリーランニングタイマがオ
ーバーフローする毎に行う割り込み処理である。
FIG. 5 shows a processing flow when the free running timer in the CPU 10 overflows.
This process is an interrupt process that is performed each time the free running timer in the microcomputer overflows.

【0019】まず、ステップ76にてレジスタのスタッ
クを行い、ステップ77にて次回オーバーフロー割り込
みのためにオーバーフローフラグ(OVF)のクリアを
実施する。次に、ステップ78にてオーバーフロータイ
マ(OVF_CNT)のインクリメントを実施し、ステ
ップ79にてスタックしたレジスタを元に戻して、本割
り込み処理を終了する。
First, at step 76, registers are stacked, and at step 77, the overflow flag (OVF) is cleared for the next overflow interrupt. Next, at step 78, the overflow timer (OVF_CNT) is incremented, and at step 79, the stacked registers are returned to the original state, and this interrupt processing ends.

【0020】図6〜8に本実施の形態の動作パターン例
を示す。図中の記号を説明すると、FRCはマイコン内
部のフリーランニングタイマ、OVF_CNTはオーバ
ーフロータイマ、OVF_CNT_FR(FL,RR)
は前回演算時のオーバフロータイマ(OVF_CN
T)、OVFはオーバーフローフラグ、T3FR(F
L,RR)は立ち上がりエッジ発生時のフリーランニン
グタイマ(FRC)値、T1FR(FL,RR)は立ち
下がりエッジ発生時のフリーランニングタイマ(FR
C)値、N3FR(FL,RR)は立ち上がりエッジカ
ウンタ、N1FR(FL,RR)は立ち下がりエッジカ
ウンタである。
FIGS. 6 to 8 show examples of operation patterns according to the present embodiment. To explain the symbols in the figure, FRC is a free-running timer inside the microcomputer, OVF_CNT is an overflow timer, and OVF_CNT_FR (FL, RR)
Is the overflow timer (OVF_CN) used in the previous calculation.
T), OVF is an overflow flag, T3FR (F
L, RR) are free running timer (FRC) values when a rising edge occurs, and T1FR (FL, RR) are free running timers (FR) when a falling edge occurs.
C) Value, N3FR (FL, RR) is a rising edge counter, and N1FR (FL, RR) is a falling edge counter.

【0021】まず、図6のパターンについて説明する
と、立ち上がりパルスaが発生した場合、その時のフリ
ーランニングタイマ値(FRC1)をT3FR(FL,
RR)にセットし、立ち上がりエッジカウンタ(N3F
R(FL,RR))をインクリメントし、現時点のオー
バーフロータイマ(OVF_CNT)の値n+1を自身
演算時のオーバーフロータイマ(OVF_CNT_FR
(FL,RR))にセットする。
First, referring to the pattern of FIG. 6, when the rising pulse a is generated, the free running timer value (FRC1) at that time is set to T3FR (FL, FL).
RR) and the rising edge counter (N3F
R (FL, RR)), and increments the current value n + 1 of the overflow timer (OVF_CNT) by the overflow timer (OVF_CNT_FR) at the time of the self-calculation.
(FL, RR)).

【0022】その後、立ち上がりエッジbが発生した場
合、前述のフローに従い、立ち上がりエッジbが発生し
た時点のフリーランニングタイマ値(FRC2)と前回
立ち上がりエッジa発生時のFRC値(FRC1)との
比較を行い、その差(t1)が判断閾値(P_CAN
#)よりも大きい場合は、今回のエッジbが有効である
と判断して、T3FR(FL,RR)、N3FR(F
L,RR)、OVF_CNT_FR(FL,RR)のデ
ータ取り込みを実施する。
Thereafter, when the rising edge b occurs, the free running timer value (FRC2) at the time when the rising edge b occurs and the FRC value (FRC1) at the time when the previous rising edge a occurred are compared according to the above-described flow. And the difference (t1) is determined by the determination threshold (P_CAN).
If it is larger than #), it is determined that the current edge b is valid, and T3FR (FL, RR) and N3FR (F
L, RR) and OVF_CNT_FR (FL, RR).

【0023】図7のパターンも図6と同様に、エッジa
とエッジbとの間のフリーランニング値の差(t1)が
判断閾値(P_CAN#)以上のパターンであるが、こ
の例の場合、エッジaとエッジbとの間でオーバフロー
が成され、フリーランニング値の大小関係が図6のパタ
ーンとは逆になっている。しかし、前記差(t1)が判
断閾値(P_CAN#)以上となっているため、図6の
パターンと同様に、T3FR(FL,RR)、N3FR
(FL,RR)、OVF_CNT_FR(FL,RR)
のデータ取り込みを実施する。
The pattern shown in FIG. 7 is similar to the pattern shown in FIG.
The difference (t1) between the free running value and the edge b is a pattern equal to or larger than the determination threshold value (P_CAN #). In this example, an overflow occurs between the edge a and the edge b, and the free running occurs. The magnitude relation of the values is opposite to the pattern of FIG. However, since the difference (t1) is equal to or greater than the determination threshold value (P_CAN #), T3FR (FL, RR), N3FR
(FL, RR), OVF_CNT_FR (FL, RR)
Perform data capture of

【0024】次に、図8のパターンは、エッジaとエッ
ジbとの間のフリーランニング値の差(t1)が判断閾
値(P_CAN#)以下の場合を示している。これは、
所定値以下の周期でパルスが入力されたものであり、パ
ルス異常入力と判断して、エッジb発生時のフリーラン
ニング値は取り込まず(エッジa発生時のFRC1のま
ま)、立ち上がりエッジカウンタ(N3FR(FL,R
R))の値も更新せず(n+1のまま)、また、自身演
算時のオーバーフローカウンタ(OVF_CNT_FR
(FL,RR)の値も更新しない(n+1のまま)。す
なわち、エッジは発生したにも拘らず、パルス計測関連
のデータは更新せず、あたかもエッジが発生しなかった
かのような状態を実現する。
Next, the pattern of FIG. 8 shows a case where the difference (t1) between the free running values between the edge a and the edge b is equal to or smaller than the judgment threshold value (P_CAN #). this is,
A pulse is input at a cycle equal to or shorter than a predetermined value, and it is determined that a pulse is abnormal, so that a free running value when an edge b occurs is not taken in (it remains FRC1 when an edge a occurs), and a rising edge counter (N3FR) (FL, R
R)) is not updated (n + 1), and the overflow counter (OVF_CNT_FR) at the time of its own calculation is used.
The value of (FL, RR) is not updated (n + 1). That is, despite the occurrence of the edge, the data related to the pulse measurement is not updated, and a state as if the edge did not occur is realized.

【0025】具体例を説明すると、CPU10が演算す
る制御系の演算周期を10(msec)とした場合、A
BS制御演算に使用する車輪速度の最大値をVmax
(km/h)とすると、10(msec)間に発生する
車輪速度パルス数(X)は、次式のようになる。 X=(Vmax/3.6×N)/2πr なお、Nはセンサロータの歯数、rはタイヤ動半径
(m)である。この場合、ABS制御において、X個以
上のセンサパルスが入力された場合、車輪速度の最大値
をV(km/h)としている以上、このようなパルス入
力は不要な入力とみなすことができる。
To explain a specific example, if the operation cycle of the control system operated by the CPU 10 is 10 (msec), A
Vmax is the maximum value of wheel speed used for BS control calculation.
(Km / h), the number (X) of wheel speed pulses generated in 10 (msec) is as follows. X = (Vmax / 3.6 × N) / 2πr where N is the number of teeth of the sensor rotor, and r is the tire radius (m). In this case, in the ABS control, when X or more sensor pulses are input, such pulse input can be regarded as unnecessary input as long as the maximum value of the wheel speed is set to V (km / h).

【0026】そこで、車輪速度Vmax(km/h)時
のパルス周期(T)は T(sec)=(0.01×2πr)/(Vmax/
3.6×N) となることから、基準となる車輪速度パルス入力後、T
(sec)までの間に発生する車輪速度パルスは、車輪
速度演算に使用しない(パルスとしてカウントしない)
とすることにより、CPU10の車輪速度入力ポート
に、ノイズ等の要因により高周波信号が重畳した場合で
も、車輪速度を過大に演算することもなくなり、制動距
離が長くなるようなこともなく安定したABS制御を実
現できる。
Then, the pulse period (T) at the wheel speed Vmax (km / h) is T (sec) = (0.01 × 2πr) / (Vmax /
3.6 × N). After inputting the reference wheel speed pulse, T
The wheel speed pulse generated until (sec) is not used for wheel speed calculation (not counted as a pulse)
Accordingly, even when a high-frequency signal is superimposed on the wheel speed input port of the CPU 10 due to noise or the like, the wheel speed is not excessively calculated, and the stable ABS is prevented without increasing the braking distance. Control can be realized.

【0027】以上、本発明の実施の形態を図面により詳
述してきたが、具体的な構成はこの実施の形態に限られ
るものではなく、本発明の要旨を逸脱しない範囲におけ
る設計の変更等があっても本発明に含まれる。
Although the preferred embodiment of the present invention has been described in detail with reference to the drawings, the specific configuration is not limited to this preferred embodiment, and a design change or the like may be made without departing from the gist of the present invention. Even if present, it is included in the present invention.

【0028】[0028]

【発明の効果】 以上説明したように、本発明では、立
ち上がりエッジ・立ち下がりエッジのうちで同一種類の
エッジが、所定時間内に複数発生した場合には、後に発
生したエッジを無効とする補正処理部を設けた構成とし
たため、外的要因によりノイズが重畳しても、このノイ
ズを無効として処理して実際の車輪速度に近い値を演算
することができ、しかも、位相遅れが生じることもな
く、車輪速度の演算精度の向上を図ることができるとい
う効果が得られ、また、この車輪速度演算装置が演算す
る車輪速度に基づいて行うABS制御などの制御におい
て、ノイズを含んで演算された車輪速度により不具合な
制御が成されることがなくなるという効果が得られる。
請求項2記載の発明では、前記補正処理部の無効判断基
準となる前記所定時間を、車輪速度が車両性能あるいは
制御対象に基づいて設定された所定の最大値である時、
矩形波成形手段により形成される矩形波の周期とする構
成としたため、演算された車輪速度が、ノイズなどによ
り所定の最大車輪速度よりも高速となることがなく、し
たがって、車輪速度の演算結果を所定の誤差範囲内に留
めることができるとともに、この演算された車輪速度に
基づいて不具合な制御が成されるのも防止できる。
As described above, according to the present invention, when a plurality of edges of the same type among the rising edge and the falling edge occur within a predetermined time, the correction that invalidates the later edge is made invalid. Since the processing unit is provided, even if noise is superimposed due to an external factor, the noise can be invalidated and processed to calculate a value close to the actual wheel speed. Therefore, the effect that the calculation accuracy of the wheel speed can be improved can be obtained, and in the control such as the ABS control performed based on the wheel speed calculated by the wheel speed calculation device, the calculation including the noise is performed. An effect is obtained in that defective control is not performed by the wheel speed.
According to the second aspect of the present invention, when the wheel speed is a predetermined maximum value set based on the vehicle performance or the control target,
Since the configuration is a period of the rectangular wave formed by the rectangular wave shaping means, the calculated wheel speed does not become higher than a predetermined maximum wheel speed due to noise or the like. It is possible to keep the error within a predetermined error range, and it is possible to prevent the malfunctioning control from being performed based on the calculated wheel speed.

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

【図1】ABS装置のブロック図である。FIG. 1 is a block diagram of an ABS device.

【図2】右前輪の車輪速度パルス計測処理フローであ
る。
FIG. 2 is a flowchart of a wheel speed pulse measurement process for a right front wheel.

【図3】左前輪の車輪速度パルス計測処理フローであ
る。
FIG. 3 is a flowchart of a wheel speed pulse measurement process for a front left wheel.

【図4】後輪の車輪速度パルス計測処理フローである。FIG. 4 is a flowchart of a rear wheel wheel speed pulse measurement process.

【図5】CPU内部のフリーランニングタイマがオーバ
ーフローした場合の割り込み処理フローである。
FIG. 5 is an interrupt processing flow when a free-running timer in a CPU overflows.

【図6】実施の形態のパターン別動作波形を示すタイム
チャートである。
FIG. 6 is a time chart showing an operation waveform for each pattern according to the embodiment.

【図7】実施の形態のパターン別動作波形を示すタイム
チャートである。
FIG. 7 is a time chart showing an operation waveform for each pattern according to the embodiment;

【図8】実施の形態のパターン別動作波形を示すタイム
チャートである。
FIG. 8 is a time chart showing an operation waveform for each pattern according to the embodiment.

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

1 コントロールユニット 2 マイクロコンピュータ 3 入力インタフェイス 4 出力インタフェイス 5 電源レギュレータ 6a 車輪速度センサ 6b 車輪速度センサ 6c 車輪速度センサ 7 ブレーキスイッチ 8 バッテリ電源 9 イグニッションスイッチ 10 CPU 11 RAM 12 ROM 13 入出力器 14 タイマ 15 A/D変換器 16 ABS油圧ユニット 17 ウオッチドック回路 18 ワーニングランプ Reference Signs List 1 control unit 2 microcomputer 3 input interface 4 output interface 5 power supply regulator 6a wheel speed sensor 6b wheel speed sensor 6c wheel speed sensor 7 brake switch 8 battery power supply 9 ignition switch 10 CPU 11 RAM 12 ROM 13 input / output unit 14 timer 15 A / D converter 16 ABS hydraulic unit 17 Watch dock circuit 18 Warning lamp

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 車輪速度センサからの正弦波状の車輪速
度信号を入力して矩形波に成形する矩形波成形手段と、 この矩形波成形手段で形成された矩形波の立ち上がりエ
ッジあるいは立ち下がりエッジを検出して、パルス計測
処理を開始するパルス計測処理手段と、 所定周期内に計測されたパルス数に基づいて車輪速度を
推定する車輪速度推定手段と、を備えた車輪速度演算装
置において、 前記立ち上がりエッジ・立ち下がりエッジのうち同一種
類のエッジが、所定時間内に複数発生した場合には、後
に発生したエッジを無効とする補正処理部を設けたこと
を特徴とする車輪速度演算装置。
1. A rectangular wave shaping means for inputting a sine-wave-shaped wheel speed signal from a wheel speed sensor and shaping it into a rectangular wave, and a rising edge or a falling edge of a rectangular wave formed by the rectangular wave shaping means. The wheel speed calculation device comprising: a pulse measurement processing unit that detects and starts a pulse measurement process; and a wheel speed estimation unit that estimates a wheel speed based on the number of pulses measured within a predetermined period. A wheel speed calculation device, comprising: a correction processing unit that invalidates a later generated edge when a plurality of edges of the same type out of an edge and a falling edge occur within a predetermined time.
【請求項2】 前記補正処理部の無効判断基準となる前
記所定時間は、車輪速度が車両性能あるいは制御対象に
基づいて設定された所定の最大値である時、矩形波成形
手段により形成される矩形波の周期であることを特徴と
する請求項1記載の車輪速度演算装置。
2. The rectangular wave shaping means is provided when the wheel speed is a predetermined maximum value set based on vehicle performance or a control object, and the predetermined time serving as an invalid judgment reference of the correction processing unit is formed. The wheel speed calculation device according to claim 1, wherein the period is a period of a rectangular wave.
JP24798197A 1997-09-12 1997-09-12 Wheel speed computation device Pending JPH1183883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24798197A JPH1183883A (en) 1997-09-12 1997-09-12 Wheel speed computation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24798197A JPH1183883A (en) 1997-09-12 1997-09-12 Wheel speed computation device

Publications (1)

Publication Number Publication Date
JPH1183883A true JPH1183883A (en) 1999-03-26

Family

ID=17171429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24798197A Pending JPH1183883A (en) 1997-09-12 1997-09-12 Wheel speed computation device

Country Status (1)

Country Link
JP (1) JPH1183883A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007057446A (en) * 2005-08-26 2007-03-08 Fujitsu Ten Ltd Device and method for measuring pulse signal
JP4753391B2 (en) * 2005-07-13 2011-08-24 コンティネンタル オートモーティヴ フランス Apparatus and method for processing signals
JP2013108901A (en) * 2011-11-22 2013-06-06 Sumitomo Rubber Ind Ltd Wheel rotation angle detection device
WO2018006729A1 (en) * 2016-07-05 2018-01-11 舍弗勒技术股份两合公司 Wheel rotational speed detection apparatus and detection method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4753391B2 (en) * 2005-07-13 2011-08-24 コンティネンタル オートモーティヴ フランス Apparatus and method for processing signals
JP2007057446A (en) * 2005-08-26 2007-03-08 Fujitsu Ten Ltd Device and method for measuring pulse signal
JP2013108901A (en) * 2011-11-22 2013-06-06 Sumitomo Rubber Ind Ltd Wheel rotation angle detection device
WO2018006729A1 (en) * 2016-07-05 2018-01-11 舍弗勒技术股份两合公司 Wheel rotational speed detection apparatus and detection method

Similar Documents

Publication Publication Date Title
JPH047469B2 (en)
SE466302B (en) PROCEDURE AND DEVICE FOR DRIVING CONTROL OF MOTOR VEHICLES
JPH0331228B2 (en)
JPH047471B2 (en)
JP5649625B2 (en) Tire pressure drop detection device, method and program
JPH0441310B2 (en)
JP2539940B2 (en) Highly efficient rotation speed calculation method
JPH047470B2 (en)
JPS59196469A (en) Detection of wheel speed and/or wheel acceleration/deceleration
JPH1183883A (en) Wheel speed computation device
JPS59196468A (en) Detection of wheel speed and/or wheel acceleration/deceleration
JP3441562B2 (en) Yaw rate estimator and yaw rate sensor failure diagnosis device
US6166534A (en) Method and apparatus for measuring the wheel speed
KR101522032B1 (en) apparatus for detecting fail of wheel velocity of a Vehicle
KR101512522B1 (en) apparatus for detecting fail of wheel velocity of a Vehicle
JP2781067B2 (en) Processing method and apparatus for one or more high-speed signals passing through a single high-speed input terminal of a microcontroller
JP4073862B2 (en) Wheel speed calculation method for brake control
JP3116502B2 (en) Pulse period measurement method and pulse period measurement device
JPH06201711A (en) Speed detecting device for rotary body
JPS6313503Y2 (en)
JPH09236612A (en) Rotating speed sensor
JPH02151571A (en) Vehicle motion estimating device
JPH10226328A (en) Device for detecting unevenness of road surface
JPH07283721A (en) Calculation method for pulse signal cycle
JP2744880B2 (en) Pulse width measurement device and rotation speed measurement device