JP2001215234A - Vehicle speed computing device - Google Patents

Vehicle speed computing device

Info

Publication number
JP2001215234A
JP2001215234A JP2000024539A JP2000024539A JP2001215234A JP 2001215234 A JP2001215234 A JP 2001215234A JP 2000024539 A JP2000024539 A JP 2000024539A JP 2000024539 A JP2000024539 A JP 2000024539A JP 2001215234 A JP2001215234 A JP 2001215234A
Authority
JP
Japan
Prior art keywords
vehicle speed
speed data
data
calculated
abnormality
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.)
Withdrawn
Application number
JP2000024539A
Other languages
Japanese (ja)
Inventor
Hidetsugu Hamada
英嗣 浜田
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2000024539A priority Critical patent/JP2001215234A/en
Publication of JP2001215234A publication Critical patent/JP2001215234A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enhance the accuracy of computation when a vehicle speed for cruise control is computed from rotational frequency data produced from an output of a resolver. SOLUTION: Vehicle speed data is successively calculated based on rotational frequency data successively transmitted by means of serial communication in predetermined periods from the resolver provided on a motor, and an average vehicle speed is computed based on the speed data calculated in the predetermined periods. If an abnormality is detected in the serial communication, vehicle speed data calculated based on rotational frequency data serially communicated when the abnormality is detected is complemented by averaging vehicle speed data calculated before and after the detection.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、レゾルバ出力から
算出される回転数データを用いて車速を算出する車速演
算装置に関し、特に、その車速を設定値に自動的に保持
するクルーズドコントロールに好適に使用される車速演
算装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle speed calculating device for calculating a vehicle speed using rotational speed data calculated from a resolver output, and is particularly suitable for a cruise control which automatically holds the vehicle speed at a set value. The present invention relates to a vehicle speed calculation device used for a vehicle.

【0002】[0002]

【従来の技術】自動車の車速を設定された値に自動的に
保持するクルーズドコントロールでは、例えば48ms
の周期で車速が制御されるために、その周期毎に、正確
な車速を検出する必要がある。このような車速の検出に
は、従来、パルスを利用する車速センサが多用されてい
る。
2. Description of the Related Art In cruise control in which a vehicle speed is automatically maintained at a set value, for example, 48 ms
Since the vehicle speed is controlled in the cycle, it is necessary to detect an accurate vehicle speed in each cycle. Conventionally, a vehicle speed sensor using a pulse is frequently used for detecting such a vehicle speed.

【0003】車速センサを用いるクルーズドコントロー
ル用の車速検出方法について、図5に基づいて説明す
る。車速検出方法では、車両の車軸等に取付けられたシ
グナルロータの回転に伴って、車速センサ1から出力さ
れるパルスが、クルーズドコントロール用のCPU2に
入力されている。CPU2は、制御周期である例えば4
8msの間に入力されたパルスの幅を平均して、その制
御周期の間の車速を算出する。
A method of detecting a vehicle speed for cruise control using a vehicle speed sensor will be described with reference to FIG. In the vehicle speed detection method, a pulse output from a vehicle speed sensor 1 is input to a cruise control CPU 2 with the rotation of a signal rotor attached to an axle or the like of the vehicle. The CPU 2 has a control cycle of, for example, 4
The width of the pulse input during 8 ms is averaged to calculate the vehicle speed during the control cycle.

【0004】また、最近では、モータ或いはエンジンと
モータの組み合わせを動力源とする自動車では、モータ
に設けられたレゾルバ出力から車速を検出することも考
えられている。レゾルバは、本来モータ等の回転機にお
ける回転角の検出に使用され、一定時間内の回転角の変
化量を演算することにより、回転数センサとしても使用
することができる。このため、そのモータ制御に不可欠
のレゾルバを回転数センサとして利用し、その回転数か
ら自動車の車速を算出することが行われている。
[0004] Recently, in an automobile using a motor or a combination of an engine and a motor as a power source, it has been considered to detect the vehicle speed from the output of a resolver provided in the motor. The resolver is originally used for detecting a rotation angle of a rotating machine such as a motor, and can also be used as a rotation speed sensor by calculating the amount of change in the rotation angle within a certain time. Therefore, a resolver indispensable for the motor control is used as a rotation speed sensor, and the vehicle speed of the automobile is calculated from the rotation speed.

【0005】レゾルバ出力を用いるクルーズドコントロ
ール用の車速検出装置では、図6に示すように、モータ
制御用のCPU3によって、レゾルバ出力から回転数が
算出され、その回転数データがクルーズドコントロール
用のCPU2へ、シリアル通信により例えば4msの非
常に短い周期で伝送される。クルーズドコントロール用
のCPU2は、図7に示すように、伝送されてくる回転
数データから車速データVn を順番に算出してバッファ
に蓄積する。そして、蓄積された車速データを用いて、
制御周期毎に平均車速を算出する。
In a cruise control vehicle speed detecting device using a resolver output, as shown in FIG. 6, a motor control CPU 3 calculates a rotational speed from a resolver output, and the rotational speed data is used for a cruise control control. It is transmitted to the CPU 2 by a very short cycle of, for example, 4 ms by serial communication. As shown in FIG. 7, the CPU 2 for cruise control sequentially calculates the vehicle speed data Vn from the transmitted rotation speed data and accumulates it in the buffer. Then, using the accumulated vehicle speed data,
An average vehicle speed is calculated for each control cycle.

【0006】即ち、回転数データの伝送周期が4ms
で、クルーズドコントロールの制御周期が前述した48
msの場合、4msの周期で算出される車速データVn
が順番にバッファに蓄積され、48ms毎に12回分の
車速データVn ,Vn-1 ,Vn-2 ,Vn-3 ,Vn-4 …V
n-11が、次の(1)式により移動平均されて、平均車速
Vが算出される。
That is, the transmission period of the rotation speed data is 4 ms.
The cruise control cycle is 48
ms, vehicle speed data Vn calculated at a cycle of 4 ms
Are sequentially stored in the buffer, and vehicle speed data Vn, Vn-1, Vn-2, Vn-3, Vn-4... V for 12 times every 48 ms
The moving average of n-11 is calculated by the following equation (1), and the average vehicle speed V is calculated.

【0007】 V=(Vn +Vn-1 +Vn-2 +Vn-3 +Vn-4 …Vn-11)/12 …(1)V = (Vn + Vn-1 + Vn-2 + Vn-3 + Vn-4... Vn-11) / 12 (1)

【0008】[0008]

【発明が解決しようとする課題】モータ制御用のCPU
からクルーズドコントロール用のCPUへ回転数データ
を伝送するシリアル通信において、通信異常が発生する
と、通信異常が発生時において、回転数データがクルー
ズドコントロール用のCPUに伝送されない状態にな
る。このために、通信異常時には、車速データが欠落す
ることになる。この場合には、バッファでは、車速デー
タの更新が停止され、前回に通信された車速データが保
持される。その結果、平均車速Vを算出するときのバッ
ファ内の車速データは、例えば図8のようになる。
SUMMARY OF THE INVENTION CPU for motor control
In serial communication for transmitting rotation speed data from the CPU to the cruise control CPU, if a communication error occurs, the speed data is not transmitted to the cruise control CPU when the communication error occurs. For this reason, when the communication is abnormal, the vehicle speed data is lost. In this case, the update of the vehicle speed data is stopped in the buffer, and the vehicle speed data communicated last time is held. As a result, the vehicle speed data in the buffer when calculating the average vehicle speed V is as shown in FIG. 8, for example.

【0009】すなわち、図8に示すように、10番目の
車速データVn-2 を算出する回転数データの伝送時に通
信異常が発生すると、その10番目の車速Vn-2 とし
て、その前回である第9番目に算出された車速データV
n-3 が保持される。その結果、算出される平均車速V
は、次の(2)式にて示される。その平均車速Vの精度
が低下するため、クルーズドコントロールでの制御性が
悪化する。
That is, as shown in FIG. 8, when a communication error occurs during transmission of the rotation speed data for calculating the tenth vehicle speed data Vn-2, the tenth vehicle speed Vn-2 is set as the tenth vehicle speed Vn-2. Ninth calculated vehicle speed data V
n-3 is retained. As a result, the calculated average vehicle speed V
Is expressed by the following equation (2). Since the accuracy of the average vehicle speed V decreases, the controllability in cruise control deteriorates.

【0010】 V=(Vn +Vn-1 +Vn-3 +Vn-3 +Vn-4 …Vn-11)/12 …(2) (2)式において下線を付したところが、通信異常のた
めにデータの更新が行われなかった第10番目の車速デ
ータであり、前回(第9番目)の車速データVn-3 が保
持されている。その結果、算出される平均車速Vの精度
が低下し、クルーズドコントロールでの制御性が悪化す
る。
V = (Vn + Vn−1 + Vn−3 + Vn−3 + Vn−4... Vn−11) / 12 (2) The underlined expression in the equation (2) means that data is updated due to a communication error. Is the tenth vehicle speed data not performed, and the previous (ninth) vehicle speed data Vn-3 is held. As a result, the accuracy of the calculated average vehicle speed V decreases, and controllability in cruise control deteriorates.

【0011】なお、通信異常に伴うデータの欠落を補う
方法にとして、画像データを、R、G、Bの画像成分毎
に分離して伝送し、受信されなかった画像成分について
の画像データを、分離して送信された他の異なる正常な
画像成分から推定して補完する画像データの通信方法
が、特開平8−317383号公報に開示されている。
しかし、レゾルバによって検出される回転数データは、
画像データと異なり、有効な成分に分離して送信するこ
とが容易でなく、また、有効な成分に分離して送信する
ためには、通信ラインを増加させる必要があり、自動車
の車速演算装置としては、好ましいものではない。
As a method for compensating for data loss due to a communication error, image data is separated and transmitted for each of R, G, and B image components, and image data for image components that have not been received is transmitted. Japanese Patent Application Laid-Open No. 8-317383 discloses a method of communicating image data that is complemented by estimating from other different normal image components transmitted separately.
However, the rotational speed data detected by the resolver is
Unlike image data, it is not easy to separate and transmit the effective components, and to separate and transmit the effective components, it is necessary to increase the number of communication lines. Is not preferred.

【0012】本発明は、上記従来の問題を解決するもの
であり、その目的は、回転数データを伝送するシリアル
通信に異常が生じた場合にも、精度よく車速を算出でき
る車速演算装置を提供することにある。
An object of the present invention is to solve the above-mentioned conventional problem, and an object of the present invention is to provide a vehicle speed calculating device capable of calculating a vehicle speed accurately even when an abnormality occurs in serial communication for transmitting rotation speed data. Is to do.

【0013】[0013]

【課題を解決するための手段】本発明の車速演算装置
は、モータに設けられたレゾルバから、モータ制御CP
Uを介して、シリアル通信により所定の周期で順次伝送
される回転数データに基づいて、車速データを順次算出
し、算出された所定周期の車速データに基づいて平均車
速を演算する車速演算装置であって、該シリアル通信に
異常が検出された場合に、その異常検出時において、シ
リアル通信された回転数データに基づいて算出された車
速データを、その前後において算出された車速データ平
均化して補完することを特徴とする。
A vehicle speed calculating device according to the present invention uses a motor control CP from a resolver provided in a motor.
U is a vehicle speed calculating device that sequentially calculates vehicle speed data based on rotation speed data sequentially transmitted at a predetermined cycle by serial communication and calculates an average vehicle speed based on the calculated vehicle speed data at a predetermined period. When an abnormality is detected in the serial communication, the vehicle speed data calculated based on the rotational speed data serially transmitted at the time of detecting the abnormality is complemented by averaging the vehicle speed data calculated before and after the abnormality. It is characterized by doing.

【0014】また、本発明の車速演算装置は、モータに
設けられたレゾルバから、シリアル通信により所定の周
期で順次伝送される回転数データに基づいて、車速デー
タを順次算出し、算出された所定周期の車速データに基
づいて平均車速を演算する車速演算装置であって、該シ
リアル通信に異常が検出された場合に、その異常検出時
において、シリアル通信された回転数データに基づいて
算出された車速データを、その前後のいずれかにおいて
連続して算出された車速データの偏差に基づいて補完す
ることを特徴とする。
Further, the vehicle speed calculation device of the present invention sequentially calculates vehicle speed data based on rotation speed data sequentially transmitted at a predetermined cycle by a serial communication from a resolver provided in the motor, and calculates the calculated predetermined speed data. A vehicle speed calculating device that calculates an average vehicle speed based on vehicle speed data of a cycle, wherein when an abnormality is detected in the serial communication, the vehicle speed is calculated based on rotation speed data serially communicated when the abnormality is detected. The vehicle speed data is complemented based on a deviation of the vehicle speed data continuously calculated before or after the vehicle speed data.

【0015】[0015]

【発明の実施の形態】以下、図面を参照しながら本発明
の実施の形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0016】図1は、本発明の車速演算装置における実
施形態の一例を締めか概略構成図である。この車速演算
装置は、クルーズドコントロールの制御系として使用さ
れている。
FIG. 1 is a schematic diagram showing an example of an embodiment of a vehicle speed calculating device according to the present invention. This vehicle speed calculation device is used as a control system for cruise control.

【0017】クルーズドコントロールの制御系は、図1
に示すように、クルーズドコントロール用CPU10を
備えており、クルーズドコントロール用CPU10は、
モータ制御用CPU20及びレゾルバ30を利用して、
自動車の車速制御を行う。
The control system of the cruise control is shown in FIG.
As shown in FIG. 1, the cruise control CPU 10 is provided.
Using the motor control CPU 20 and the resolver 30,
Car speed control is performed.

【0018】レゾルバ30は、図示されないモータに内
蔵されており、そのモータの回転角に相当するデータを
出力する。このレゾルバの出力は、モータ制御用CPU
20に入力され、モータの回転数に相当するデータに変
換される。
The resolver 30 is built in a motor (not shown) and outputs data corresponding to the rotation angle of the motor. The output of this resolver is the motor control CPU
20 and is converted into data corresponding to the number of rotations of the motor.

【0019】モータ制御用CPU20で生成された回転
数データは、シリアル通信によって、所定周期でクルー
ズドコントロール用CPU10に伝送される。回転数デ
ータの伝送周期は、本実施形態では4msとされてい
る。
The rotational speed data generated by the motor control CPU 20 is transmitted to the cruise control CPU 10 at a predetermined cycle by serial communication. The transmission cycle of the rotation speed data is 4 ms in the present embodiment.

【0020】クルーズドコントロール用CPU10及び
モータ制御用CPU20は、図示されないROMに格納
されたソフトウエアにより、同じく図示されないRAM
等との間で信号の授受を行いながら、所定のデータ処理
を行う。
The CPU 10 for the cruise control and the CPU 20 for the motor control are implemented by software stored in a ROM (not shown) by a RAM (not shown).
A predetermined data processing is performed while transmitting and receiving signals to and from the same.

【0021】クルーズドコントロール用CPU10は、
その制御周期毎の正確な車速を演算するために、第1演
算部11、異常検出部12、データ補完部13、データ
格納部14及び第2演算部15を備えている。これら
は、上記ソフトウエアにより構成されている。
The cruise control CPU 10
In order to calculate an accurate vehicle speed for each control cycle, a first calculation unit 11, an abnormality detection unit 12, a data complement unit 13, a data storage unit 14, and a second calculation unit 15 are provided. These are configured by the above software.

【0022】第1演算部11は、モータ制御用CPU2
0からシリアル通信により4msの周期で順次伝送され
る回転数データから、所定の周期で、車速データVn を
順次に算出する。この車速データの算出周期は、回転数
データの伝送周期に対応し、本実施形態では4msとさ
れている。
The first arithmetic unit 11 is provided with a motor control CPU 2
From 0, the vehicle speed data Vn is sequentially calculated at a predetermined cycle from the rotational speed data sequentially transmitted at a cycle of 4 ms by serial communication. The calculation cycle of the vehicle speed data corresponds to the transmission cycle of the rotation speed data, and is 4 ms in the present embodiment.

【0023】第1演算部11で算出される車速データ
は、異常検出部12及びデータ補完部13に入力され
る。
The vehicle speed data calculated by the first calculation unit 11 is input to the abnormality detection unit 12 and the data complement unit 13.

【0024】異常検出部12は、モータ制御用CPU2
0から伝送される回転数データの受信状況を監視するこ
とにより、シリアル通信が正常か異常かを判定する。こ
の判定のために、回転数データは、第1演算部11及び
異常検出部12のそれぞれ入力される。
The abnormality detecting unit 12 includes a motor control CPU 2
By monitoring the reception status of the rotation speed data transmitted from 0, it is determined whether the serial communication is normal or abnormal. For this determination, the rotation speed data is input to each of the first calculation unit 11 and the abnormality detection unit 12.

【0025】データ補完部13は、異常検出部12での
判定結果に基づき、通信異常が発生したときに第1演算
部11で算出される車速データを、その前後の車速デー
タから補完し、正常時に入力された補完の必要がない他
の車速データと共にデータ格納部14に出力する。
The data complementing unit 13 complements the vehicle speed data calculated by the first arithmetic unit 11 when a communication abnormality occurs based on the result of the determination by the abnormality detecting unit 12 from the vehicle speed data before and after the communication abnormality. It is output to the data storage unit 14 together with other vehicle speed data that does not need to be complemented and that is sometimes input.

【0026】データ格納部14は、クルーズドコントロ
ールでの制御周期に合致した周期の車速データを得るた
めに、4msの周期で算出される車速データVn を一時
的に蓄積するバッファである。バッファによって構成さ
れたデータ格納部14は、データ補完部13から出力さ
れる、補完後の車速データを含む所定数の車速データを
順番に格納する。
The data storage section 14 is a buffer for temporarily storing vehicle speed data Vn calculated at a period of 4 ms in order to obtain vehicle speed data at a period matching the control period of the cruise control. The data storage unit 14 configured by a buffer sequentially stores a predetermined number of vehicle speed data including the complemented vehicle speed data output from the data complementing unit 13.

【0027】クルーズドコントロールでの制御周期は、
本実施形態では、48msとされている。このため、デ
ータ格納部14に蓄積されるデータ数は、本実施形態で
は12となる(4ms×12=48ms)。
The control cycle of the cruise control is as follows:
In the present embodiment, it is set to 48 ms. Therefore, the number of data stored in the data storage unit 14 is 12 in this embodiment (4 ms × 12 = 48 ms).

【0028】第2演算部15は、データ格納部14に蓄
積された12個の車速データから、平均車速Vを算出す
る。これにより、クルーズドコントロールでの制御周期
に対応する48ms周期の平均車速が得られる。
The second arithmetic unit 15 calculates an average vehicle speed V from the twelve vehicle speed data stored in the data storage unit 14. As a result, an average vehicle speed of a 48 ms cycle corresponding to the control cycle of the cruise control is obtained.

【0029】得られた48ms周期の平均車速は、クル
ーズドコントロールでの所定の制御処理に使用される。
The obtained average vehicle speed of the 48 ms cycle is used for a predetermined control process in the cruise control.

【0030】なお、モータ制御用CPU20は、レゾル
バ出力だけでなく、これ以外の各種データを用いてモー
タを統括的に制御する。モータは、本実施形態では、例
えばハイブリッド車の駆動源として使用されるモータで
ある。
The motor control CPU 20 controls not only the resolver output but also other various data to control the motor as a whole. In the present embodiment, the motor is, for example, a motor used as a drive source of a hybrid vehicle.

【0031】図2は、本実施形態の車速演算装置の動作
説明のためのフローチャートである。以下、図2に基づ
いて、車速演算装置の動作について説明する。
FIG. 2 is a flowchart for explaining the operation of the vehicle speed calculation device according to this embodiment. Hereinafter, the operation of the vehicle speed calculation device will be described with reference to FIG.

【0032】モータ制御用CPU20からシリアル通信
により4msの周期で、順次、伝送される回転数データ
を読み込む(図2のステップS1参照、以下同様)。そ
の後、読み込んだ回転数データから、所定の周期で車速
データVn を算出するとともに(ステップS2)、回転
数データの受信状況から通信異常の有無を判定する(ス
テップS3)。具体的には、1つの回転数データにつ
き、モータ制御用CPU20からのデータ読み出しを2
回続けて行い、2回のデータが実質的に一致する場合
に、シリアル通信に異常がなく、読み込まれた回転数デ
ータが正常であると判定する。これに対して、連続して
読み込まれた回転数データが実質的に一致しない場合に
は、シリアル通信が異常であると判定する。
The rotational speed data to be transmitted is sequentially read from the motor control CPU 20 at a cycle of 4 ms by serial communication (see step S1 in FIG. 2, the same applies hereinafter). Thereafter, vehicle speed data Vn is calculated at a predetermined cycle from the read rotation speed data (step S2), and the presence or absence of a communication abnormality is determined from the reception status of the rotation speed data (step S3). Specifically, data reading from the motor control CPU 20 is performed for one rotation speed data by two times.
It is determined that there is no abnormality in the serial communication and the read rotation speed data is normal if the two data substantially coincide. On the other hand, when the rotational speed data read continuously does not substantially match, it is determined that the serial communication is abnormal.

【0033】また、このような方法に替えて、連続する
2つの回転数データを比較し、その差が基準値以下のと
きにシリアル通信が正常と判定し、その差が基準値を超
えるときには、シリアル通信が異常になっていると判定
するようにしてもよい。
In place of such a method, two consecutive rotation speed data are compared. If the difference is smaller than the reference value, it is determined that the serial communication is normal. If the difference exceeds the reference value, It may be determined that the serial communication is abnormal.

【0034】回転数データを伝送するシリアル通信に異
常が発生すると、伝送データが大きく変化し、この変化
を捕らえることにより、シリアル通信の異常が検出され
る。
When an abnormality occurs in the serial communication for transmitting the rotation speed data, the transmission data greatly changes, and by detecting this change, the abnormality in the serial communication is detected.

【0035】ステップS3において、シリアル通信が正
常であると判定された場合には、ステップS2にて算出
された車速データVn が、データ格納部14であるバッ
ファに順次格納され(ステップS4)、そして、バッフ
ァに格納されるデータ数が12個以下か否かが判定され
る(ステップS5)。
If it is determined in step S3 that the serial communication is normal, the vehicle speed data Vn calculated in step S2 is sequentially stored in a buffer serving as the data storage unit 14 (step S4). It is determined whether the number of data stored in the buffer is 12 or less (step S5).

【0036】バッファに格納されるデータ数が12個以
下のときは、ステップS1に戻り、同様にして、車速デ
ータが算出される。このようにして、順次、車速データ
が算出されて、算出された車速データが、データ格納部
14であるバッファに格納される。
If the number of data stored in the buffer is 12 or less, the process returns to step S1, and vehicle speed data is calculated in the same manner. In this manner, the vehicle speed data is sequentially calculated, and the calculated vehicle speed data is stored in the buffer serving as the data storage unit 14.

【0037】このようにして、12個の車速データが、
順次算出されて、算出された車速データがバッファに順
次格納される。バッファに格納されるデータ数が12個
に達すると、バッファに格納された12個の車速データ
が読み込まれ(ステップS6)、読み込まれた12個の
車速データが移動平均されることにより、この間の平均
車速Vが算出される(ステップS7)。
Thus, the twelve vehicle speed data are
The calculated vehicle speed data is sequentially stored in the buffer. When the number of data stored in the buffer reaches twelve, the twelve vehicle speed data stored in the buffer are read (step S6), and the read twelve vehicle speed data are subjected to a moving average. The average vehicle speed V is calculated (Step S7).

【0038】これにより、モータ制御用CPU20から
シリアル通信により4msの周期で伝送される回転数デ
ータから、4msの周期で車速データVn が順次算出さ
れると共に、回転数データのシリアル通信に異常がなけ
れば、順次算出される12個の車速データ(Vn ,Vn-
1 ,Vn-2 ,Vn-3 ,Vn-4 …Vn-11)が、図7に示す
ように、そのままの状態で、データ格納部14のバッフ
ァに蓄積され、前述した(1)式に基づいて平均車速V
が算出される。
Thus, the vehicle speed data Vn is sequentially calculated at a period of 4 ms from the rotation speed data transmitted at a period of 4 ms from the motor control CPU 20 by serial communication, and the serial communication of the rotation speed data is not abnormal. For example, twelve vehicle speed data (Vn, Vn-
, Vn-2, Vn-3, Vn-4... Vn-11) are stored in the buffer of the data storage unit 14 as they are, as shown in FIG. Average vehicle speed V
Is calculated.

【0039】一方、ステップS3において、回転数デー
タのシリアス通信が異常であると判定された場合は、シ
リアス通信が異常であると判定された時点のモータ回転
数データから算出される車速データを、その前後におい
て算出された車速データに基づいて補完する(ステップ
S8)。例えば、12個の車速データにおいて、第10
番目の車速データが通信異常の影響を受けたとすると、
その車速データを、第9番目の車速データと第11番目
の車速データの平均から算出して補完する。その結果、
バッファに蓄積される12個の車速データは、図3に示
すように、シリアル通信の異常に対応する第10番目の
車速データが補完されて、データ格納部14に格納され
る(ステップS4)。そして、12個の車速データが、
データ格納部14に格納されると(ステップS8)、格
納された車速データが読み込まれて(ステップS6)、
平均車速Vが算出される(ステップS7)。
On the other hand, if it is determined in step S3 that the serious communication of the rotational speed data is abnormal, the vehicle speed data calculated from the motor rotational speed data at the time when the serious communication is determined to be abnormal is determined. Complementation is performed based on the vehicle speed data calculated before and after that (step S8). For example, in 12 vehicle speed data,
If the second vehicle speed data is affected by a communication error,
The vehicle speed data is complemented by calculating from the average of the ninth vehicle speed data and the eleventh vehicle speed data. as a result,
As shown in FIG. 3, the twelve vehicle speed data stored in the buffer are complemented with the tenth vehicle speed data corresponding to the serial communication abnormality and stored in the data storage unit 14 (step S4). And the twelve vehicle speed data
When the vehicle speed data is stored in the data storage unit 14 (step S8), the stored vehicle speed data is read (step S6).
The average vehicle speed V is calculated (Step S7).

【0040】この場合は、前述したように、データ格納
部14に格納された12個の車速データに基づいて平均
車速Vが算出されるが、第1例番目の車速データが補完
されているために、次の(3)式に基づいて、平均車速
が算出される。
In this case, as described above, the average vehicle speed V is calculated based on the twelve vehicle speed data stored in the data storage unit 14, but the first example vehicle speed data is supplemented. Then, an average vehicle speed is calculated based on the following equation (3).

【0041】 V=(Vn +Vn-1 +Vn-2 ′+Vn-3 +Vn-4 …Vn-11)/12 …(3) ただし、Vn-2 ′は補完を受けた第10番目の車速デー
タであり、Vn-2 ′=(Vn-1 +Vn-3 )/2になって
いる。
V = (Vn + Vn-1 + Vn-2 '+ Vn-3 + Vn-4 ... Vn-11) / 12 (3) where Vn-2' is the tenth complemented vehicle speed data. , Vn-2 '= (Vn-1 + Vn-3) / 2.

【0042】このようにして車速データを補完する場合
には、最初と最後に算出される車速データ以外の第2〜
11番目の車速データは、前後に連続して車速データが
算出されているために問題はないが、その算出以前に車
速データが存在しない最初(第1番目)の車速データ、
その算出後に車速データが存在しない最後(第12番
目)の車速データに対しては、その算出の前後の車速デ
ータを使用して平均車速を算出することができない。
When the vehicle speed data is complemented in this manner, the second to the second data other than the first and last calculated vehicle speed data are used.
The eleventh vehicle speed data has no problem because the vehicle speed data is continuously calculated before and after, but the first (first) vehicle speed data for which no vehicle speed data exists before the calculation,
For the last (twelfth) vehicle speed data for which there is no vehicle speed data after the calculation, the average vehicle speed cannot be calculated using the vehicle speed data before and after the calculation.

【0043】このために、最後(12番目)の車速デー
タに対しては、当該車速データの算出の前後いずれかに
連続して算出された2つの車速データの偏差ΔVを、当
該車速データに加算することによって、車速データを補
完すればよい。
For this reason, for the last (twelfth) vehicle speed data, the deviation ΔV of two vehicle speed data continuously calculated before or after the calculation of the vehicle speed data is added to the vehicle speed data. By doing so, the vehicle speed data may be supplemented.

【0044】例えば、算出の最後である第12番目の車
速データが、シリアル通信の異常の影響を受けた場合に
は、その車速データは、次の(4)によって補完され
る。
For example, when the twelfth vehicle speed data at the end of the calculation is affected by an abnormality in serial communication, the vehicle speed data is complemented by the following (4).

【0045】Vn ′=Vn-1 +ΔV …(4) ただし、ΔV=Vn-1 −Vn-2であり、Vn ′は、補完
を受けた最後(第12番目)の車速データである。
Vn '= Vn-1 + .DELTA.V (4) where .DELTA.V = Vn-1-Vn-2, and Vn' is the last (twelfth) vehicle speed data which has been complemented.

【0046】これにより、データ格納部14であるバッ
ファに蓄積される12個の車速データは、図4に示すよ
うに、第12番目の車速データが有効に補完されること
になり、Vn+1 が算出された時点で、Vn ′を再度、前
述の補完法で計算し直すことにより、演算周期のずれや
CPU高負荷時の制御遅れが発生したときにも、精度の
よい車速を算出することができる。
As a result, as shown in FIG. 4, the twelfth vehicle speed data is effectively complemented by the twelve vehicle speed data stored in the buffer serving as the data storage unit 14, and Vn + 1 is obtained. By calculating Vn 'again by the above-described complementing method at the time when is calculated, it is possible to calculate the vehicle speed with high accuracy even when the calculation cycle shifts or the control delay occurs when the CPU is overloaded. Can be.

【0047】このようにして、本実施形態の車速演算装
置では、回転数データを伝送するシリアル通信に異常が
発生した場合にも、その異常によるデータ欠落の影響
を、直接受けるおそれがなく、しかも、データの更新を
停止して前回データを保持する場合と比べても、精度の
よい車速データが得られる。その結果、所定の周期の平
均車速Vを高精度に演算することができる。
As described above, in the vehicle speed calculating device according to the present embodiment, even when an abnormality occurs in the serial communication for transmitting the rotation speed data, there is no possibility of being directly affected by the data loss due to the abnormality. As compared with the case where the updating of data is stopped and the previous data is held, more accurate vehicle speed data can be obtained. As a result, the average vehicle speed V in a predetermined cycle can be calculated with high accuracy.

【0048】また、回転数データを分離して伝送する必
要がないために、シリアル通信の通信系が複雑化するお
それもない。
Further, since it is not necessary to transmit the rotation speed data separately, there is no possibility that the communication system of serial communication becomes complicated.

【0049】[0049]

【発明の効果】以上のように、本発明の車速演算装置に
よると、モータに設けられたレゾルバから、シリアル通
信により所定の周期で順次伝送される回転数データが、
通信異常によって正確に得られない場合にも、精度のよ
い平均車速を算出することができる。従って、算出され
た車速をクルーズトコントロールに用いる場合にあって
は、その制御性が著しく向上することになる。
As described above, according to the vehicle speed calculating device of the present invention, the rotational speed data sequentially transmitted at a predetermined cycle by the serial communication from the resolver provided in the motor is obtained.
Even when it is not possible to accurately obtain the average vehicle speed due to a communication abnormality, it is possible to calculate an accurate average vehicle speed. Therefore, when the calculated vehicle speed is used for cruise control, the controllability is significantly improved.

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

【図1】本発明の車速演算装置の実施の形態の一例を示
す概略構成図である。
FIG. 1 is a schematic configuration diagram showing an example of an embodiment of a vehicle speed calculation device according to the present invention.

【図2】その車速演算装置の動作説明のためのフローチ
ャートである。
FIG. 2 is a flowchart for explaining the operation of the vehicle speed calculation device.

【図3】その車速演算装置における車速格納部であるバ
ッファに格納されたデータの一例を示す概念図である。
FIG. 3 is a conceptual diagram showing an example of data stored in a buffer serving as a vehicle speed storage unit in the vehicle speed calculation device.

【図4】その車速演算装置における車速格納部であるバ
ッファに格納されたデータの他の例を示す概念図であ
る。
FIG. 4 is a conceptual diagram showing another example of data stored in a buffer serving as a vehicle speed storage unit in the vehicle speed calculation device.

【図5】従来の車速検出装置の動作説明のための概略図
である。
FIG. 5 is a schematic diagram for explaining the operation of a conventional vehicle speed detection device.

【図6】レゾルバ出力を用いた車速検出装置の一例を示
す概略構成図である。
FIG. 6 is a schematic configuration diagram illustrating an example of a vehicle speed detection device using a resolver output.

【図7】その車速検出装置のバッファにおけるデータ格
納状態を示す概念図である。
FIG. 7 is a conceptual diagram showing a data storage state in a buffer of the vehicle speed detection device.

【図8】そのバッファにおけるデータ格納状態の他の例
を示す概念図である。
FIG. 8 is a conceptual diagram showing another example of a data storage state in the buffer.

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

10 クルーズトコントロール用CPU 11 第1演算部 12 異常検出部 13 データ補完部 14 データ格納部 15 第2演算部 20 モータ制御用CPU 30 レゾルバ Reference Signs List 10 CPU for cruise control 11 First operation unit 12 Abnormality detection unit 13 Data complement unit 14 Data storage unit 15 Second operation unit 20 Motor control CPU 30 Resolver

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 モータに設けられたレゾルバから、モー
タ制御CPUを介して、シリアル通信により所定の周期
で順次伝送される回転数データに基づいて、車速データ
を順次算出し、算出された所定周期の車速データに基づ
いて平均車速を演算する車速演算装置であって、 該シリアル通信に異常が検出された場合に、その異常検
出時において、シリアル通信された回転数データに基づ
いて算出された車速データを、その前後において算出さ
れた車速データ平均化して補完することを特徴とする車
速演算装置。
1. A vehicle speed data is sequentially calculated from a resolver provided in a motor via a motor control CPU based on rotation speed data sequentially transmitted at a predetermined period by serial communication, and the calculated predetermined period is calculated. A vehicle speed calculation device that calculates an average vehicle speed based on the vehicle speed data of the vehicle, wherein when an abnormality is detected in the serial communication, the vehicle speed calculated based on the rotational speed data serially communicated when the abnormality is detected. A vehicle speed calculation device for averaging vehicle speed data calculated before and after the data to complement the data.
【請求項2】 モータに設けられたレゾルバから、シリ
アル通信により所定の周期で順次伝送される回転数デー
タに基づいて、車速データを順次算出し、算出された所
定周期の車速データに基づいて平均車速を演算する車速
演算装置であって、 該シリアル通信に異常が検出された場合に、その異常検
出時において、シリアル通信された回転数データに基づ
いて算出された車速データを、その前後のいずれかにお
いて連続して算出された車速データの偏差に基づいて補
完することを特徴とする車速演算装置。
2. A vehicle speed data is sequentially calculated based on rotation speed data sequentially transmitted in a predetermined cycle by a serial communication from a resolver provided in a motor, and an average is calculated based on the calculated vehicle speed data in a predetermined cycle. A vehicle speed calculating device for calculating a vehicle speed, wherein when an abnormality is detected in the serial communication, the vehicle speed data calculated based on the rotational speed data serially communicated at the time of the abnormality detection is compared with any one of the data before and after the abnormality. A vehicle speed calculation device that complements the vehicle speed data based on the deviation of the vehicle speed data calculated continuously.
JP2000024539A 2000-02-01 2000-02-01 Vehicle speed computing device Withdrawn JP2001215234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000024539A JP2001215234A (en) 2000-02-01 2000-02-01 Vehicle speed computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000024539A JP2001215234A (en) 2000-02-01 2000-02-01 Vehicle speed computing device

Publications (1)

Publication Number Publication Date
JP2001215234A true JP2001215234A (en) 2001-08-10

Family

ID=18550505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000024539A Withdrawn JP2001215234A (en) 2000-02-01 2000-02-01 Vehicle speed computing device

Country Status (1)

Country Link
JP (1) JP2001215234A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8669734B2 (en) 2010-07-20 2014-03-11 Toyota Jidosha Kabushiki Kaisha Control device and control method for motor
CN112441079A (en) * 2019-08-29 2021-03-05 比亚迪股份有限公司 Rail train, vehicle-mounted controller and rail train speed measuring method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8669734B2 (en) 2010-07-20 2014-03-11 Toyota Jidosha Kabushiki Kaisha Control device and control method for motor
CN112441079A (en) * 2019-08-29 2021-03-05 比亚迪股份有限公司 Rail train, vehicle-mounted controller and rail train speed measuring method and device

Similar Documents

Publication Publication Date Title
US7359776B2 (en) Apparatus for correcting and diagnosing angular rate sensors installed in an automotive vehicle
US9031736B2 (en) Channel diagnostic system for sent receiver
KR20060121659A (en) Method and device for estimating the total mass of a motor vehicle
JP2000517049A (en) Gearbox improvements
US6801838B2 (en) Device and method for converting vehicle speed signals
JP2001215234A (en) Vehicle speed computing device
JP2009119958A (en) Vehicle state estimation unit
JP5554684B2 (en) Physical quantity detection device, network system
JPH07122639B2 (en) Speed calculation control method
JP2001153883A (en) Compensator for acceleration sensor for vehicle in grade
JPH1183489A (en) Apparatus for correcting bearing of vehicle
JP2000074931A (en) Car-speed detection device
JPH0224450B2 (en)
JPH03195973A (en) Car body speed estimating apparatus
JP3162551B2 (en) ATS speed checker
JP3215026B2 (en) Automotive control unit pulse communication system, common frequency division processing circuit and frequency division signal communication system
JPH092317A (en) Device for estimating yaw rate and diagnosing yaw rate sensor trouble
JP2004144670A (en) Vehicle speed detecting device
JPH10175537A (en) Car body speed estimating device
JPH11190741A (en) Method for converting output value of g sensor into acceleration/deceleration of vehicle and method for detecting abnormality of g sensor
JPH0843422A (en) Method and equipment for estimating yaw rate of vehicle
JP3186104B2 (en) Sensor characteristic correction method
JP3033397B2 (en) Abnormality detection device for yaw rate sensor output
JP2966685B2 (en) Distance information processing device
JPH05286377A (en) Wheel speed detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061102

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20071207