JP2019066318A - Electronic equipment of vehicle - Google Patents

Electronic equipment of vehicle Download PDF

Info

Publication number
JP2019066318A
JP2019066318A JP2017191879A JP2017191879A JP2019066318A JP 2019066318 A JP2019066318 A JP 2019066318A JP 2017191879 A JP2017191879 A JP 2017191879A JP 2017191879 A JP2017191879 A JP 2017191879A JP 2019066318 A JP2019066318 A JP 2019066318A
Authority
JP
Japan
Prior art keywords
data
predetermined number
value
predetermined
predetermined 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.)
Granted
Application number
JP2017191879A
Other languages
Japanese (ja)
Other versions
JP6969264B2 (en
Inventor
裕介 森川
Yusuke Morikawa
裕介 森川
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.)
Advics Co Ltd
Original Assignee
Advics Co Ltd
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 Advics Co Ltd filed Critical Advics Co Ltd
Priority to JP2017191879A priority Critical patent/JP6969264B2/en
Publication of JP2019066318A publication Critical patent/JP2019066318A/en
Application granted granted Critical
Publication of JP6969264B2 publication Critical patent/JP6969264B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
  • Regulating Braking Force (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

To complete processing to be executed according to a plurality of pieces of acquired data at an early stage.SOLUTION: Electronic equipment of a vehicle comprises: an acquisition unit that acquires data; a determination unit that, prior to a determination of whether a variation degree of a first prescribed number of data is less than a first prescribed value, determines whether a probability in which the variation degree of the first prescribed number of data is equal to or more than the first prescribed value is equal to or more than a second prescribed value on the basis of the second prescribed number of data at a point of time of acquisition of the second prescribed number of data smaller than the first prescribed number thereof by the acquisition unit, and when determining that the probability is equal to or more than the second prescribed value, conducts reset processing for selecting new data without using all or a part of the second prescribed number of data; and a data processing unit that, when it is determined by the determination unit that the variation degree of the first prescribed number of data is less than the first prescribed value, implements prescribed processing, using the first prescribed number of data.SELECTED DRAWING: Figure 1

Description

本発明は、車両の電子装置に関する。   The present invention relates to an electronic device of a vehicle.

従来から、車両には、加速度センサ、ヨーレートセンサ等、各種センサが搭載されている。また、各種センサのデータに基づいて処理を実施する電子装置が搭載されている。例えば、ある種の電子装置は、センサから取得した所定数のサンプルデータに基づいて基準値であるゼロ点を補正するゼロ点補正処理を実施する。ゼロ点を補正する際に、センサから取得した所定数のサンプルデータのバラツキ度合が大きいと、処理結果の信頼性が低下するため、サンプルデータをセンサから取得し直す必要がある。   Conventionally, various sensors such as an acceleration sensor and a yaw rate sensor are mounted on a vehicle. In addition, an electronic device that performs processing based on data of various sensors is mounted. For example, some electronic devices perform a zero point correction process that corrects a reference zero point based on a predetermined number of sample data obtained from a sensor. When correcting the zero point, if the degree of variation of the predetermined number of sample data acquired from the sensor is large, the reliability of the processing result is reduced, so it is necessary to reacquire the sample data from the sensor.

特開平6−3368号公報Unexamined-Japanese-Patent No. 6-3368

所定数のサンプルデータを取得してからバラツキ度合を判定して必要に応じてサンプルデータを取得し直すと、処理の完了が遅くなってしまう。   If the degree of variation is determined after acquiring a predetermined number of sample data and the sample data is acquired again as necessary, the completion of the process will be delayed.

そこで、本発明の課題の一つは、例えば、取得した複数個のデータに基づいて実施される処理を早期に完了することである。   Therefore, one of the problems of the present invention is, for example, to complete early the process performed based on the plurality of acquired data.

本発明は、例えば、データを取得する取得部と、第1の所定数の前記データのバラツキ度合が第1の所定値未満であるか否かを判定する前に、前記取得部によって前記第1の所定数よりも少ない第2の所定数の前記データが取得された時点で、前記第2の所定数のデータに基づいて、前記第1の所定数の前記データのバラツキ度合が第1の所定値以上になる確率が第2の所定値以上であるか否かを判定し、当該確率が前記第2の所定値以上であると判定した場合、前記第2の所定数のデータのすべて又は一部を使用せず新たなデータを選定するリセット処理を行う判定部と、前記判定部によって前記第1の所定数のデータのバラツキ度合が前記第1の所定値未満であると判定された場合、前記第1の所定数のデータを用いて所定の処理を実施するデータ処理部と、を備える車両の電子装置である。   The present invention relates to, for example, an acquisition unit for acquiring data, and the first acquisition unit for determining whether or not the degree of variation of the first predetermined number of data is less than a first predetermined value. When a second predetermined number of the data smaller than the predetermined number is acquired, the degree of variation of the first predetermined number of the data is determined based on the second predetermined number of data. It is determined whether the probability of becoming equal to or greater than the value is equal to or greater than a second predetermined value, and when it is determined that the probability is equal to or greater than the second predetermined value, all or one of the second predetermined number of data A determination unit that performs a reset process to select new data without using a unit, and the determination unit determines that the variation degree of the first predetermined number of data is less than the first predetermined value, Perform predetermined processing using the first predetermined number of data A data processing unit that is an electronic apparatus of a vehicle including a.

また、上記ゼロ点補正装置では、例えば、前記判定部は、前記第1の所定数がNであり、前記第2の所定数がSであり、前記S個のデータと、バラツキが0(ゼロ)と仮定したN−S個のデータに基づいて算出したバラツキ度合の結果に基づいて、前記リセット処理を行う。   Further, in the zero point correction device, for example, the determination unit may determine that the first predetermined number is N, the second predetermined number is S, and the S pieces of data have a variation of 0 (zero The reset process is performed on the basis of the result of the variation degree calculated based on the N-S pieces of data assumed to be.

また、上記ゼロ点補正装置では、例えば、前記第1の所定数をN、前記データをx(1≦i≦N)、前記第1の所定値をE、前記第2の所定数をS(2≦S<N)、前記第2の所定値を100%とし、前記判定部は、下記の式(11)を満たさなかったときに、前記リセット処理を行う。

Figure 2019066318
In the zero point correction apparatus, for example, the first predetermined number is N, the data is x i (1 ≦ i ≦ N), the first predetermined value is E, and the second predetermined number is S. (2 ≦ S <N), the second predetermined value is set to 100%, and the determination unit performs the reset process when the following formula (11) is not satisfied.
Figure 2019066318

また、上記ゼロ点補正装置では、例えば、前記判定部は、前記第2の所定数がSであり、前記S個のデータに基づいて、前記第1の所定数の前記データのバラツキ度合が第1の所定値以上になる確率が第2の所定値以上となるか否かを判定する判定値を、自由度S−1のカイ二乗分布に基づいて算出する。   Further, in the zero point correction device, for example, the determination unit determines that the second predetermined number is S, and the degree of variation of the first predetermined number of the data is determined based on the S pieces of data. A determination value for determining whether the probability of becoming equal to or more than the predetermined value of 1 becomes equal to or more than the second predetermined value is calculated based on the chi-square distribution of the degree of freedom S-1.

また、上記ゼロ点補正装置では、例えば、前記第1の所定数をN、前記データをx(1≦i≦N)、前記第1の所定値をE、前記第2の所定数をS(2≦S<N)、前記第2の所定値に対応する第3の所定値をE4とした場合、前記判定部は、下記の式(12)を満たさなかったときに、前記リセット処理を行う。

Figure 2019066318
In the zero point correction apparatus, for example, the first predetermined number is N, the data is x i (1 ≦ i ≦ N), the first predetermined value is E, and the second predetermined number is S. (2 ≦ S <N), when the third predetermined value corresponding to the second predetermined value is E4, the determination unit performs the reset process when the following equation (12) is not satisfied: Do.
Figure 2019066318

また、上記ゼロ点補正装置では、例えば、前記判定部は、前記第2の所定数のデータが取得された後、それまでに取得された前記データの平均値を算出し、前記平均値からの乖離度が第4の所定値以上であるデータを破棄する。   Further, in the zero point correction apparatus, for example, after the second predetermined number of data are acquired, the determination unit calculates an average value of the data acquired by then, and the average value of the data is calculated from the average value. The data having the deviation degree equal to or more than the fourth predetermined value is discarded.

また、上記ゼロ点補正装置では、例えば、前記判定部は、前記破棄した回数が所定回数以上の場合、前記第2の所定数のデータすべてを使用せず新たなデータを選定するリセット処理を行う。   Further, in the zero point correction device, for example, when the number of discards is equal to or more than a predetermined number, the determination unit performs a reset process of selecting new data without using all of the second predetermined number of data. .

また、上記ゼロ点補正装置では、例えば、前記取得部は、センサによって検出されたデータを取得し、前記データ処理部は、前記第1の所定数のデータを用いて、前記センサの基準値であるゼロ点を補正するゼロ点補正を実施する。   Further, in the zero point correction device, for example, the acquisition unit acquires data detected by a sensor, and the data processing unit uses the first predetermined number of data to obtain the reference value of the sensor. Implement a zero point correction to correct a certain zero point.

図1は、実施形態のECU(車両の電子装置)を搭載する車両の概略構成を示す図である。FIG. 1 is a view showing a schematic configuration of a vehicle equipped with an ECU (electronic device of the vehicle) of the embodiment. 図2は、実施形態のECUによる第1のゼロ点補正処理の手順を示すフローチャートである。FIG. 2 is a flowchart showing the procedure of a first zero point correction process by the ECU of the embodiment. 図3は、実施形態におけるデータの演算値と閾値Eとの関係を示すグラフである。FIG. 3 is a graph showing the relationship between the calculated value of data and the threshold value E in the embodiment. 図4は、実施形態においてRMS2の手法を用いた場合とRMS3の手法と用いた場合のゼロ点補正処理の流れを示すグラフである。FIG. 4 is a graph showing a flow of zero point correction processing when the method of RMS2 and the method of RMS3 are used in the embodiment. 図5は、実施形態においてヨーレートセンサ値を取得してRMS2の手法を用いた場合とRMS3の手法と用いた場合のゼロ点補正処理の流れを示すグラフである。FIG. 5 is a graph showing the flow of the zero point correction process when the yaw rate sensor value is acquired and the method of RMS2 is used and the method of RMS3 is used in the embodiment. 図6は、実施形態において指標値Zと閾値E4との関係を示すグラフである。FIG. 6 is a graph showing the relationship between the index value Z and the threshold value E4 in the embodiment. 図7は、正規分布等の説明図である。FIG. 7 is an explanatory view of a normal distribution and the like. 図8は、実施形態のECUによる第2のゼロ点補正処理の手順を示すフローチャートである。FIG. 8 is a flowchart showing the procedure of a second zero point correction process by the ECU of the embodiment.

以下、本発明の例示的な実施形態が開示される。以下に示される実施形態の構成、ならびに当該構成によってもたらされる作用および結果(効果)は、例である。本発明は、以下の実施形態に開示される構成以外によっても実現可能である。また、本発明によれば、以下の構成によって得られる種々の効果(派生的な効果も含む)のうち少なくとも一つを得ることが可能である。   In the following, exemplary embodiments of the present invention are disclosed. The configurations of the embodiments shown below, and the operations and results (effects) provided by the configurations are examples. The present invention can also be realized with configurations other than the configurations disclosed in the following embodiments. Further, according to the present invention, it is possible to obtain at least one of various effects (including derivative effects) obtained by the following configuration.

まず、図1を参照して、実施形態のECU(Electronic Control Unit)50(車両の電子装置)を搭載する車両の概略構成について説明する。図1は、実施形態のECU50を搭載する車両の概略構成を示す図である。   First, with reference to FIG. 1, a schematic configuration of a vehicle equipped with an ECU (Electronic Control Unit) 50 (electronic device of the vehicle) of the embodiment will be described. FIG. 1 is a view showing a schematic configuration of a vehicle equipped with the ECU 50 of the embodiment.

図1に示すように、車両には、車両を走行させるための駆動力発生装置11と、前輪FR,FLを転舵輪として転舵させるための操舵装置12と、各車輪FL,FR,RL,RR(以下、符号を省略して単に「車輪」という場合もある。)に制動力を付与するための制動装置13と、が設けられている。   As shown in FIG. 1, in the vehicle, a driving force generator 11 for causing the vehicle to travel, a steering device 12 for turning the front wheels FR, FL as steered wheels, and the wheels FL, FR, RL, A braking device 13 is provided to apply a braking force to RR (hereinafter sometimes referred to simply as "wheel" with reference numerals omitted).

駆動力発生装置11には、運転者によるアクセルペダル20の操作量、即ちアクセル開度に基づいた駆動力を発生するエンジン21と、エンジン21の出力軸に接続された自動変速機22とが設けられている。また、駆動力発生装置11には、アクセル開度を検出するためのアクセル開度センサSE1が設けられている。そして、エンジン21から出力された駆動力は、自動変速機22からディファレンシャルギヤ23に伝達され、ディファレンシャルギヤ23から駆動輪である前輪FR,FLに配分される。   The driving force generation device 11 is provided with an engine 21 that generates a driving force based on an operation amount of the accelerator pedal 20 by the driver, that is, an accelerator opening degree, and an automatic transmission 22 connected to an output shaft of the engine 21. It is done. Further, the driving force generation device 11 is provided with an accelerator opening degree sensor SE1 for detecting an accelerator opening. The driving force output from the engine 21 is transmitted from the automatic transmission 22 to the differential gear 23, and is distributed from the differential gear 23 to the front wheels FR and FL which are driving wheels.

なお、車両には、運転者によって操作されるシフト装置25が設けられている。シフト装置25のレンジが前進レンジである場合、自動変速機22からは、車両を前進させる方向の駆動力が出力される。一方、シフト装置25のレンジが後進レンジである場合、自動変速機22からは、車両を後進させる方向の駆動力が出力される。こうした前進レンジであるか又は後進レンジであるかなどのシフト情報は、制動装置13を制御するECU50に送信される。   The vehicle is provided with a shift device 25 operated by the driver. When the range of the shift device 25 is the forward range, the automatic transmission 22 outputs a driving force in the direction of advancing the vehicle. On the other hand, when the range of the shift device 25 is the reverse range, the automatic transmission 22 outputs a driving force in a direction to reverse the vehicle. Shift information, such as whether it is the forward range or the reverse range, is transmitted to the ECU 50 that controls the braking device 13.

操舵装置12には、運転者によって操舵されるステアリング30が固定されたステアリングシャフト31と、ステアリングシャフト31に連結された転舵アクチュエータ32とが設けられている。また、操舵装置12には、転舵アクチュエータ32により車両の左右方向に移動自在なタイロッドと、タイロッドの移動により前輪FL,FRを転舵させるリンクとを含んだリンク機構部33が設けられている。また、操舵装置12には、ステアリング30の操舵角に応じた検出信号をECU50に出力する操舵角センサSE2が設けられている。なお、操舵角センサSE2からは、例えば、車両を右方向に旋回させる場合には操舵角が正の値となるような検出信号を出力し、車両を左方向に旋回させる場合には操舵角が負の値となるような検出信号を出力する。   The steering device 12 is provided with a steering shaft 31 to which a steering wheel 30 steered by a driver is fixed, and a steering actuator 32 connected to the steering shaft 31. Further, the steering device 12 is provided with a link mechanism portion 33 including a tie rod movable in the lateral direction of the vehicle by the steering actuator 32, and a link for steering the front wheels FL and FR by the movement of the tie rods. . The steering device 12 is also provided with a steering angle sensor SE2 that outputs a detection signal corresponding to the steering angle of the steering 30 to the ECU 50. A steering angle sensor SE2 outputs, for example, a detection signal that makes the steering angle a positive value when turning the vehicle to the right, and a steering angle of turning the vehicle to the left. It outputs a detection signal that has a negative value.

制動装置13には、運転者によるブレーキペダル40の操作力に応じたブレーキ液圧を発生する液圧発生装置41と、車輪FR,FL,RR,RL毎に個別に設けられたブレーキ装置42a,42b,42c,42dに連結されたブレーキアクチュエータ43とが設けられている。また、制動装置13には、運転者によるブレーキペダル40の操作状況(オン/オフ)に応じた検出信号をECU50に出力するブレーキスイッチSW1が設けられている。   The braking device 13 includes a hydraulic pressure generating device 41 that generates a brake hydraulic pressure according to the operating force of the brake pedal 40 by the driver, and a braking device 42a individually provided for each of the wheels FR, FL, RR, and RL A brake actuator 43 connected to 42b, 42c and 42d is provided. The braking device 13 is also provided with a brake switch SW1 that outputs a detection signal to the ECU 50 according to the operating condition (on / off) of the brake pedal 40 by the driver.

ブレーキアクチュエータ43は、運転者がブレーキペダル40を操作しない場合であっても各車輪FR,FL,RR,RLに対して制動力を付与できるように構成されている。例えば、ブレーキアクチュエータ43は、液圧発生装置41側のブレーキ液圧と、ブレーキ装置42a,42b,42c,42dに設けられたホイールシリンダ内のブレーキ液圧との間に差圧を発生させるための差圧調整弁と、ホイールシリンダ内にブレーキ液を供給するための電動ポンプとを備えている。また、ブレーキアクチュエータ43には、各ホイールシリンダ内のブレーキ液圧を個別に調整するための各種弁が設けられている。つまり、本実施形態のブレーキアクチュエータ43は、各車輪FR,FL,RR,RLに対する制動力を個別に調整可能である。   The brake actuator 43 is configured to be able to apply a braking force to each of the wheels FR, FL, RR, and RL even when the driver does not operate the brake pedal 40. For example, the brake actuator 43 generates a differential pressure between the brake fluid pressure on the fluid pressure generating device 41 side and the brake fluid pressure in the wheel cylinders provided in the brake devices 42a, 42b, 42c, 42d. A differential pressure control valve and an electric pump for supplying brake fluid into the wheel cylinder are provided. In addition, the brake actuator 43 is provided with various valves for individually adjusting the brake fluid pressure in each wheel cylinder. That is, the brake actuator 43 of this embodiment can individually adjust the braking force on each of the wheels FR, FL, RR, and RL.

また、ECU50には、アクセル開度センサSE1、操舵角センサSE2、ブレーキスイッチSW1に加え、各車輪FR,FL,RR,RLの車輪速度を検出するための車輪速度センサSE3,SE4,SE5,SE6が電気的に接続されている。また、ECU50には、車両の前後方向における加速度(以下、「前後方向加速度」という。)を検出するための前後方向加速度センサSE7と、車両の横方向(車幅方向)における加速度(以下、「横方向加速度」という。)を検出するための横方向加速度センサSE8と、車両のヨーレートを検出するためのヨーレートセンサSE9とが電気的に接続されている。   In addition to the accelerator opening sensor SE1, the steering angle sensor SE2, and the brake switch SW1, the ECU 50 also includes wheel speed sensors SE3, SE4, SE5, SE6 for detecting the wheel speeds of the respective wheels FR, FL, RR, RL. Are electrically connected. Further, the ECU 50 includes a longitudinal acceleration sensor SE7 for detecting an acceleration in the longitudinal direction of the vehicle (hereinafter referred to as "longitudinal acceleration") and an acceleration (hereinafter referred to as "lateral direction of the vehicle"). A lateral acceleration sensor SE8 for detecting a lateral acceleration) and a yaw rate sensor SE9 for detecting a yaw rate of the vehicle are electrically connected.

なお、前後方向加速度センサSE7からは、車両の走行する路面が水平路である場合において、車両が加速するときには前後方向加速度が正の値となるような検出信号が出力され、車両が減速するときには前後方向加速度が負の値となるような検出信号が出力される。また、車両が降坂路で停車する場合、車両の重心が前側に移動するため、前後方向加速度センサSE7からの検出信号に基づき算出される前後方向加速度は負の値となる。   When the road surface on which the vehicle travels is a horizontal road, the longitudinal acceleration sensor SE7 outputs a detection signal such that the longitudinal acceleration has a positive value when the vehicle accelerates, and the vehicle decelerates. A detection signal is output such that the longitudinal acceleration has a negative value. Further, when the vehicle stops on a downhill road, the center of gravity of the vehicle moves to the front side, so the longitudinal acceleration calculated based on the detection signal from the longitudinal acceleration sensor SE7 has a negative value.

また、横方向加速度センサSE8及びヨーレートセンサSE9からは、車両が右方向に旋回する場合には、車両の横方向加速度及びヨーレートが正の値となる一方、車両が左方向に旋回する場合には、車両の横方向加速度及びヨーレートが負の値となるような検出信号がそれぞれ出力される。   Also, from the lateral acceleration sensor SE8 and the yaw rate sensor SE9, when the vehicle turns in the right direction, the lateral acceleration and the yaw rate of the vehicle become positive values, while when the vehicle turns in the left direction Detection signals are output such that the lateral acceleration and the yaw rate of the vehicle become negative values.

ECU50は、車両に搭載されたいずれかのシステムのECUに組み込まれてもよいし、独立したECUであってもよい。ECU50は、例えば、不図示のCPU(Central Processing Unit)、コントローラ、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ等を有する。ECU50は、インストールされ、ロードされたプログラムにしたがって処理を実行し、各機能を実現することができる。   The ECU 50 may be incorporated into an ECU of any system mounted on a vehicle, or may be an independent ECU. The ECU 50 includes, for example, a central processing unit (CPU) (not shown), a controller, a random access memory (RAM), a read only memory (ROM), a flash memory, and the like. The ECU 50 can execute processing in accordance with the installed and loaded program to realize each function.

ECU50は、処理部510と、記憶部520と、を備える。処理部510は、取得部511、判定部512、および、所定の処理を実施するデータ処理部の一例であるゼロ点補正部513を備える。つまり、ECU50は、プログラムにしたがって処理が実行されることにより、取得部511、判定部512、ゼロ点補正部513等として機能することができる。また、記憶部520には、各部の演算処理で用いられるデータや、演算処理の結果のデータ等が記憶される。なお、上記各部の機能の少なくとも一部は、ハードウエアによって実現されてもよい。   The ECU 50 includes a processing unit 510 and a storage unit 520. The processing unit 510 includes an acquisition unit 511, a determination unit 512, and a zero point correction unit 513 which is an example of a data processing unit that performs a predetermined process. That is, the ECU 50 can function as the acquisition unit 511, the determination unit 512, the zero point correction unit 513, and the like by executing the process according to the program. The storage unit 520 also stores data used in the calculation process of each unit, data of the result of the calculation process, and the like. Note that at least a part of the functions of the above-described units may be realized by hardware.

取得部511は、車両に搭載された各センサSE1〜SE9、ブレーキスイッチSW1等からデータ(検出データ)を取得する。   The acquisition unit 511 acquires data (detection data) from the sensors SE1 to SE9 mounted on the vehicle, the brake switch SW1, and the like.

各センサSE1〜SE9のうち、ゼロ点を補正する対象となるのは、例えば、ヨーレートセンサSE9である。ゼロ点とは、センサの基準値である。ゼロ点は、例えば、車両のヨーレートの場合、車両のヨーレートがゼロ、すなわち車両に全く左右の回転が発生していない状態を示す値である。ヨーレートセンサSE9は、周囲の温度変化による出力電圧等の変動である温度ドリフト等によって、現在設定されているゼロ値と現実のゼロ値に差のある場合がある。そこで、ゼロ点の補正が必要となる。ヨーレートセンサSE9のゼロ点補正では、例えば、車両が直進走行しているときのヨーレートセンサSE9のデータ(サンプルデータ)を用いて、ゼロ点補正を行う(詳細は後述)。なお、以下では、ゼロ点を補正する対象を単に「センサ」と称する。また、サンプルデータを単に「データ」と称する場合がある。   Among the sensors SE1 to SE9, for example, a yaw rate sensor SE9 is an object to be corrected of the zero point. The zero point is the reference value of the sensor. The zero point is, for example, in the case of the yaw rate of the vehicle, a value that indicates that the yaw rate of the vehicle is zero, that is, the vehicle is not rotating at all. The yaw rate sensor SE9 may have a difference between the currently set zero value and the actual zero value due to temperature drift or the like, which is a change in output voltage or the like due to a change in ambient temperature. Therefore, it is necessary to correct the zero point. In the zero point correction of the yaw rate sensor SE9, for example, the data (sample data) of the yaw rate sensor SE9 when the vehicle is traveling straight is used to perform the zero point correction (details will be described later). In the following, an object for correcting the zero point is simply referred to as a "sensor". Also, sample data may be simply referred to as "data".

判定部512は、第1の所定数のデータのバラツキ度合が第1の所定値未満であるか否かを判定する。判定部512は、その前に、取得部511によって第1の所定数よりも少ない第2の所定数のデータが取得された時点で、第2の所定数のデータに基づいて、第1の所定数のデータのバラツキ度合が第1の所定値以上になる確率が第2の所定値以上であるか否かを判定し、当該確率が第2の所定値以上であると判定した場合、第2の所定数のデータのすべて又は一部を使用せず新たなデータを選定するリセット処理を行う(詳細は後述)。   The determination unit 512 determines whether the degree of variation of the first predetermined number of data is less than the first predetermined value. Before the determination unit 512 obtains the second predetermined number of data smaller than the first predetermined number by the acquisition unit 511, the determination unit 512 determines the first predetermined number based on the second predetermined number of data. If it is determined whether the probability that the degree of variation in the number data is greater than or equal to the first predetermined value is greater than or equal to the second predetermined value, and it is determined that the probability is greater than or equal to the second predetermined value, the second And reset processing for selecting new data without using all or part of the predetermined number of data (details will be described later).

ゼロ点補正部513は、判定部512によって第1の所定数のデータのバラツキ度合が第1の所定値未満であると判定された場合、第1の所定数のデータ(第1の所定数のデータを用いた各種演算結果であってもよい。以下同様)を用いてセンサのゼロ点を補正する。このゼロ点補正部513によるゼロ点補正処理は既知であるので、詳細な説明を省略する。   If the determination unit 512 determines that the variation degree of the first predetermined number of data is less than the first predetermined value, the zero point correction unit 513 determines whether the first predetermined number of data (the first predetermined number of data The zero point of the sensor may be corrected using various calculation results using data. Since the zero point correction processing by the zero point correction unit 513 is known, the detailed description will be omitted.

次に、図2を参照して、実施形態のECU50による第1のゼロ点補正処理について説明する。図2は、実施形態のECU50による第1のゼロ点補正処理の手順を示すフローチャートである。なお、以下において、処理部510の動作のうち、取得部511、判定部512、ゼロ点補正部513以外の動作を説明するときは、その動作主体を処理部510と表す。   Next, with reference to FIG. 2, the first zero point correction process by the ECU 50 of the embodiment will be described. FIG. 2 is a flowchart showing the procedure of a first zero point correction process by the ECU 50 of the embodiment. In the following, among the operations of the processing unit 510, when the operations other than the acquisition unit 511, the determination unit 512, and the zero point correction unit 513 are described, the operation subject is referred to as the processing unit 510.

まず、ステップS1において、処理部510は、RAMの初期化(リセット)を実行する。次に、ステップS2において、取得部511は、センサのデータ(サンプルデータ)を1つ取得する。次に、ステップS3において、処理部510は、2つ以上のデータを取得したか否かを判定し、Yesの場合はステップS4に進み、Noの場合はステップS2に戻る。   First, in step S1, the processing unit 510 executes initialization (reset) of the RAM. Next, in step S2, the acquisition unit 511 acquires one sensor data (sample data). Next, in step S3, processing unit 510 determines whether or not two or more pieces of data have been acquired, and in the case of Yes, the process proceeds to step S4, and in the case of No, the process returns to step S2.

ステップS4において、判定部512は、取得した2つ以上のデータのバラツキ度合が所定値未満か否かを判定し、Yesの場合はステップS5に進み、Noの場合はステップS1に戻る。ステップS4では、データ数が所定数(例えば100個)の場合とそれよりも小さい場合で異なる判定方法や異なる判定値を取り得る。なお、このステップS4の処理の詳細については後述する。   In step S4, the determination unit 512 determines whether or not the degree of variation of the acquired two or more data is less than a predetermined value. If the determination is YES, the process proceeds to step S5. If the determination is NO, the process returns to step S1. In step S4, different determination methods or different determination values can be taken depending on whether the number of data is a predetermined number (for example, 100) or less. The details of the process of step S4 will be described later.

ステップS5において、処理部510は、所定数(例えば100個)のデータを取得したか否かを判定し、Yesの場合はステップS6に進み、Noの場合はステップS2に戻る。ステップS6において、ゼロ点補正部513は、所定数のデータの各種演算結果を用いてセンサのゼロ点を補正する。   In step S5, processing unit 510 determines whether or not a predetermined number (for example, 100) of data has been acquired. If the determination is YES, the process proceeds to step S6, and if the determination is NO, the process returns to step S2. In step S6, the zero point correction unit 513 corrects the zero point of the sensor using various calculation results of a predetermined number of data.

次に、図3を参照して、実施形態における全体処理の概要について説明する。図3は、実施形態におけるデータの演算値と閾値Eとの関係を示すグラフである。ここで、Nは、センサのゼロ点補正処理を行うために取得すべきデータの数(第1の所定数)である。また、S(第2の所定数)は、Nよりも小さい数である。また、図3のグラフにおいて、縦軸は、データに所定の演算(例えば後述のRMS法による演算)を実行したときの演算値を表す。Eは、閾値(第1の所定値)である。符号L1は演算値の推移を表す。なお、この演算値は減少することがないものとする(詳細は後述)。また、横軸は時間を表し、横軸中の「N」、「S」は、それぞれ、「N個のデータを取得するまでに要する時間」、「S個のデータを取得するまでに要する時間」を表す。   Next, with reference to FIG. 3, an outline of the entire processing in the embodiment will be described. FIG. 3 is a graph showing the relationship between the calculated value of data and the threshold value E in the embodiment. Here, N is the number (first predetermined number) of data to be acquired in order to perform the zero point correction process of the sensor. Also, S (second predetermined number) is a number smaller than N. Further, in the graph of FIG. 3, the vertical axis represents a calculation value when a predetermined calculation (for example, calculation by the RMS method described later) is performed on data. E is a threshold (first predetermined value). The code L1 represents the transition of the operation value. Note that this calculated value does not decrease (details will be described later). The horizontal axis represents time, and "N" and "S" in the horizontal axis are "time required to acquire N pieces of data" and "time required to acquire S pieces of data, respectively. Represents ".

従来技術と同様、本実施形態でも、取得したN個のデータによる演算値が所定値E未満であれば、そのN個のデータは正常であると判定し、そのN個のデータを用いてセンサのゼロ点補正を行う。本実施形態で、従来技術と異なるのは、例えば、S個のデータを取得した時点で、符号L2に示すように、演算値が所定値E以上となった場合、その時点で、判定をリセットする点である(詳細は後述)。   As in the prior art, also in the present embodiment, if the calculated value by the acquired N data is less than the predetermined value E, it is determined that the N data is normal, and the sensor is used using the N data Perform zero correction of. The present embodiment differs from the prior art in that, for example, when S pieces of data are obtained, as shown by a code L2, when the calculated value becomes a predetermined value E or more, the determination is reset at that time. (The details will be described later).

次に、具体的な演算内容について説明する。所定数のデータ(サンプルデータ)を用いてゼロ点補正を行う場合、その所定数のデータのすべてが正常データであること、つまり、大きなノイズ等の影響を受けた異常データでないことが重要となる。その場合、例えば、所定数のデータの値がすべて予め定められた所定範囲内に収まっているときに、すべてが正常データであると判定することができる。以下、この判定手法を「所定範囲判定法」と称する。また、ノイズはある確率分布にしたがってその振幅が変動するため、所定数が大きくなるほど、大きなノイズ等の影響を受けたデータの発生確率は高くなる。   Next, specific calculation contents will be described. When zero point correction is performed using a predetermined number of data (sample data), it is important that all the predetermined number of data is normal data, that is, it is not abnormal data affected by large noise etc. . In that case, for example, when all the values of the predetermined number of data are within the predetermined range, it can be determined that all are normal data. Hereinafter, this determination method is referred to as “predetermined range determination method”. In addition, since the amplitude of noise fluctuates according to a certain probability distribution, the probability of occurrence of data affected by a large noise increases as the predetermined number increases.

そして、上述の所定範囲判定法では、現在設定されているゼロ値と現実のゼロ値との差を考慮することができないので、所定数のデータが実際にはすべて正常データであっても、所定範囲外のデータを異常なデータと判定してしまうことがある。   And in the above-mentioned predetermined range judgment method, since the difference between the currently set zero value and the actual zero value can not be taken into consideration, even if the predetermined number of data is actually all normal data Data outside the range may be determined as abnormal data.

所定範囲判定法のこの短所を解決できる手法の1つに、RMS(Root Mean Square)法がある。RMS法では、所定範囲を設定することなく、データのバラツキ度合だけを判定することができる。具体的には、以下の式(1)、式(2)を用いてデータのバラツキ度合を判定することができる。   One of the methods that can solve this shortcoming of the predetermined range determination method is an RMS (Root Mean Square) method. In the RMS method, only the degree of data variation can be determined without setting a predetermined range. Specifically, the degree of data variation can be determined using the following equations (1) and (2).

Figure 2019066318
ここで、Nは所定数である。xはi番目(1≦i≦N)のデータの値である。Eは閾値である。
Figure 2019066318
Here, N is a predetermined number. x i is the value of the ith (1 ≦ i ≦ N) data. E is a threshold.

このRMS1の手法では、N個のデータをバッファ(記憶部)に記憶させ、その後にRMS1を算出し、そのRMS1が所定値E未満であるか否かを判定する。RMS1が所定値E未満であれば、そのN個のデータを用いてゼロ点補正を行う。RMS1が所定値E以上であれば、一旦、取得したデータを破棄するなどのリセットをして、再度データの取得と式(1)による判定を、RMS1が所定値E未満になるまで繰り返す。しかし、このRMS1の手法によれば、N個のデータのすべてを記憶することができるバッファが必要になり、コストアップにつながってしまう。   In this RMS1 method, N pieces of data are stored in a buffer (storage unit), then RMS1 is calculated, and it is determined whether the RMS1 is less than a predetermined value E or not. If RMS1 is less than the predetermined value E, the N pieces of data are used to perform the zero point correction. If RMS1 is equal to or greater than the predetermined value E, the acquired data is once reset, for example, to discard the acquired data, and data acquisition and the determination according to equation (1) are repeated again until RMS1 becomes less than the predetermined value E. However, according to this RMS1 method, a buffer capable of storing all of N pieces of data is required, leading to an increase in cost.

そこで、そのバッファの問題を解決する手法として、以下の式(3)と上述の式(2)を用いて判定するRMS2の手法がある。

Figure 2019066318
Therefore, as a method of solving the problem of the buffer, there is a method of RMS2 which is determined using the following equation (3) and the above equation (2).
Figure 2019066318

このRMS2の手法では、式(3)の根号の中の第1項を記憶するバッファと第2項を記憶するバッファを用意し、データを取得するたびにその第1項と第2項を更新してRMS2を算出し、そのRMS2が所定値E未満であるか否かを判定する。RMS2が所定値E未満であれば、N個のデータはゼロ点補正処理に使用可能であり、各種演算結果を用いてゼロ点補正を行う。RMS2が所定値E以上であれば、リセットして、再度、所定数のデータを取得して式(3)による判定を行う。このRMS2の手法によれば、必要なバッファの容量を小さく抑えることができるが、所定数のデータを取得した後にしか判定を行うことができず、ゼロ点補正を早期に完了できない点で改善の余地がある。   In this RMS2 method, a buffer for storing the first term in the root of equation (3) and a buffer for storing the second term are prepared, and the first term and the second term are updated each time data is acquired. Then, RMS2 is calculated, and it is determined whether the RMS2 is less than a predetermined value E or not. If RMS2 is less than the predetermined value E, N pieces of data can be used for the zero point correction process, and the zero point correction is performed using various calculation results. If RMS2 is equal to or greater than the predetermined value E, reset is performed, and a predetermined number of data are obtained again, and the determination by the equation (3) is performed. According to this RMS2 method, the required buffer capacity can be reduced, but the determination can be made only after acquiring a predetermined number of data, and the improvement can be made in that the zero point correction can not be completed early. There is room.

そこで、本実施形態では、以下の式(4)によるRMS3の手法を採用する。

Figure 2019066318
So, in this embodiment, the method of RMS3 by the following formula (4) is adopted.
Figure 2019066318

ここで、Nは第1の所定数である。xはi番目(1≦i≦N)のデータの値である。Eは第1の所定値(閾値)である。S(2≦S<N)は第2の所定数である。このRMS3は、S番目のサンプルデータまでを取得した時点で、「S+1」番目〜N番目のデータがバラツキ0(S個のデータの平均値からの偏差が0)と仮定した二乗平均平方根である。したがって、RMS3は、減少することのない増加関数となっている。つまり、データxのS番目のデータxを取得した時点でRMS3が所定値E以上となった場合は、その後にN個のデータが揃ったときのRMS3(RMS2と同値)も所定値E以上となるのが確定となる。すなわち、前述した第2の所定値が100%の場合となる。 Here, N is a first predetermined number. x i is the value of the ith (1 ≦ i ≦ N) data. E is a first predetermined value (threshold). S (2 ≦ S <N) is a second predetermined number. This RMS3 is a root mean square assuming that the “S + 1” th to Nth data are the variance 0 (the deviation from the average value of the S data is 0) when the Sth sample data is acquired. . Therefore, RMS3 is an increasing function that never decreases. That is, if RMS3 becomes equal to or greater than the predetermined value E when the S-th data x s of the data x i is acquired, then the RMS 3 (equivalent to RMS 2) when N pieces of data are aligned is also the predetermined value E The above is finalized. That is, the second predetermined value described above is 100%.

判定部512は、上述の式(4)を満たさなかったときに、リセット処理を行う。つまり、判定部512は、S個のデータに基づいてRMS3が所定値E以上となった場合、リセットを行う。換言すると、判定部512は、第1の所定数がNであり、第2の所定数がSであり、S個のデータと、バラツキが0(ゼロ)と仮定したN−S個のデータに基づいて算出したバラツキ度合の結果に基づいて、リセット処理を行う。   The determination unit 512 performs a reset process when the above equation (4) is not satisfied. That is, the determination unit 512 performs the reset when the RMS 3 becomes equal to or more than the predetermined value E based on the S pieces of data. In other words, the determination unit 512 determines that the first predetermined number is N, the second predetermined number is S, S pieces of data, and N−S pieces of data assuming that the variation is 0 (zero). Reset processing is performed based on the result of the degree of variation calculated based on the above.

次に、図4を参照して、RMS2の手法を用いた場合とRMS3の手法と用いた場合のゼロ点補正処理の流れについて説明する。図4は、実施形態においてRMS2の手法を用いた場合とRMS3の手法と用いた場合のゼロ点補正処理の流れを示すグラフである。   Next, with reference to FIG. 4, a flow of zero point correction processing in the case of using the method of RMS2 and in the case of using the method of RMS3 will be described. FIG. 4 is a graph showing a flow of zero point correction processing when the method of RMS2 and the method of RMS3 are used in the embodiment.

図4において、図示のような値のサンプルデータが順次取得されるものとする。そして、サンプルデータxは大きなノイズ等の影響を受けたデータである。RMS2の手法を用いた場合、途中のサンプルデータ(x〜x)の段階の演算結果はその後のサンプルデータ(xS+1〜x)によって大きくも小さくもなり得るため、すべてのサンプルデータ(x〜x)を用いた演算結果でなければ、サンプルデータ(x〜x)のバラツキが所定値E未満か否かを確実に判定できない。したがって、サンプルデータxを取得してから式(3)による判定をし、判定結果がNGであればリセットし、再びサンプルデータをN個(xN+1〜x2N)取得してから式(3)による判定をし、判定結果がOKであれば、その後にゼロ点補正を行うことで、学習(ゼロ点補正処理)を完了する。 In FIG. 4, it is assumed that sample data of values as illustrated are sequentially acquired. Then, the sample data x 3 is the data affected by large noise or the like. When the method of RMS 2 is used, the calculation result of the sample data (x 1 to x s ) in the middle can be large or small depending on the subsequent sample data (x S + 1 to x N ). if not x 1 ~x N) calculation results using, variations in the sample data (x 1 ~x N) can not be reliably determined whether less than a predetermined value E. Therefore, after the sample data x N is obtained, the determination is made according to the equation (3), and if the determination result is NG, the sample data is reset and N sample data (x N + 1 to x 2 N ) are obtained again. If the determination result is OK, zero point correction is performed thereafter to complete learning (zero point correction processing).

一方、RMS3の手法を用いた場合、2個目のサンプルデータ(x)を取得してからは、サンプルデータを取得するごとに式(4)による判定を行う。そして、サンプルデータxを取得してから式(4)による判定をし、判定結果がNGであるのでリセットする。その後、再びサンプルデータを取得して式(4)による判定を繰り返し、N個のサンプルデータを取得して式(4)による判定結果がOKであれば、その後にゼロ点補正を行うことで、学習(ゼロ点補正処理)を完了することができる。つまり、減少することのない増加関数であるRMS3の手法を用いた場合、RMS2の手法を用いた場合のサンプルデータx2Nを取得した時点よりも格段に早く、サンプルデータxN+3を取得した時点で、学習を終了することができる。 On the other hand, in the case of using the method of RMS3, after obtaining the second sample data (x 2 ), the determination by the equation (4) is performed each time the sample data is obtained. Then, to obtain the sample data x 3 was determined according to formula (4) from the determination result is reset because it is NG. Thereafter, sample data is acquired again, the determination by equation (4) is repeated, N pieces of sample data are acquired, and if the determination result by equation (4) is OK, zero point correction is performed thereafter, Learning (zero point correction processing) can be completed. That is, when the method of RMS3 which is an increasing function that does not decrease is used, when sample data x N + 3 is acquired much faster than when sample data x 2 N is acquired when RMS 2 method is used. , Can finish learning.

図5は、実施形態においてヨーレートセンサ値を取得してRMS2の手法を用いた場合とRMS3の手法と用いた場合のゼロ点補正処理の流れについて説明する。図5は、実施形態においてヨーレートセンサ値を取得してRMS2の手法を用いた場合とRMS3の手法と用いた場合のゼロ点補正処理の流れを示すグラフである。   FIG. 5 illustrates the flow of the zero point correction process in the case where the yaw rate sensor value is acquired and the method of RMS2 is used and the method of RMS3 is used in the embodiment. FIG. 5 is a graph showing the flow of the zero point correction process when the yaw rate sensor value is acquired and the method of RMS2 is used and the method of RMS3 is used in the embodiment.

ヨーレートセンサ値(ヨーレートセンサSE9による検出データの値)を用いる場合は、例えば、車両の直進走行時(舵角がほぼ0、左右の車輪速度の差がほぼ0等のとき)のヨーレートセンサ値を所定数サンプリングして、データの平均値からヨーレートのゼロ点を算出する。そのとき、取得したデータが所定のバラツキ度合以上である場合は信用できないものとして、再度サンプリングする。   When using a yaw rate sensor value (value of detection data by the yaw rate sensor SE9), for example, the yaw rate sensor value at the time of straight running of the vehicle (when the steering angle is approximately 0 and the difference between the left and right wheel speeds is approximately 0) The yaw rate zero point is calculated from the average value of the data by sampling a predetermined number of times. At that time, if the acquired data is equal to or more than the predetermined variation degree, it is resampled as unreliable.

必要なサンプルデータ数が多くなると、サンプルデータ内にノイズ等の影響を受けたデータが含まれる確率が高くなり、バラツキ度合が所定以上になってサンプリングを繰り返すことが多くなり、ゼロ点補正処理が完了しにくくなる。   When the required number of sample data increases, the probability that the data affected by noise etc. is included in the sample data increases, the degree of variation becomes more than a predetermined level, and sampling is often repeated, and the zero point correction process is performed. It will be difficult to complete.

例えば、10個のデータを用いてゼロ点を補正する場合に、図5に示すように、データNo.1〜No.33のデータを取得し、その中のデータNo.4、No.19、No.20にノイズ等の影響を受けたデータが混ざっているものとする。その場合、RMS2の手法では、第1回サンプリング(データNo.1〜No.10)してNGと判定してリセットし、第2回サンプリング(データNo.11〜No.20)してNGと判定してリセットし、第3回サンプリング(データNo.21〜No.30)してそこで初めてOKと判定し、その後にゼロ点補正処理を完了することができる。   For example, when correcting the zero point using ten pieces of data, as shown in FIG. 5, data No. 1 to No. 33 of data are acquired, and data No. 4 and No. 19 in the data are obtained. It is assumed that No. 20 is mixed with data affected by noise. In that case, in the RMS2 method, the first sampling (data No. 1 to No. 10) is judged as NG and reset, and the second sampling (data No. 11 to No. 20) is judged as NG. The determination is made and reset, and the third sampling (data No. 21 to No. 30) is made, and it is determined that the determination is OK for the first time, and then the zero point correction processing can be completed.

一方、RMS3の手法では、最初にサンプリングし始めてから、データNo.4のデータをサンプリングした時点でNGと判定してリセットし、再サンプリングでデータNo.5〜No.14のデータを取得してOKと判定し、その後にゼロ点補正処理を完了することができる。つまり、RMS3の手法によれば、RMS2の手法と比較して、早期に、データのサンプリングをやり直して、ゼロ点補正処理を完了することができる。   On the other hand, in the method of RMS3, the sampling of data No. 4 is sampled at the time of sampling first, then it is judged as NG and reset, and data No. 5 to No. 14 are acquired by resampling. It can be determined as OK, and the zero point correction process can be completed thereafter. That is, according to the method of RMS3, it is possible to re-sample data earlier and complete the zero point correction processing as compared with the method of RMS2.

次に、別の判定基準について説明する。上述したように、データxのS番目のデータxを取得した時点でRMS3が所定値E以上となった場合は、その後にN個のデータが揃ったときのN個のサンプルデータのバラツキ度合が所定値E以上となる確率が100%であった。しかし、「S+1」番目〜N番目のデータがバラツキ0(S個のデータの平均値からの偏差が0)となる可能性は低いので、当該確率が100%よりも少し小さい値(例えば、99%、95%等)になるようにすることも有効である。 Next, another determination criterion will be described. As described above, when RMS3 becomes equal to or larger than the predetermined value E when the S-th data x S of the data x i is acquired, the variation of N pieces of sample data when N pieces of data are aligned thereafter The probability that the degree was equal to or higher than the predetermined value E was 100%. However, since it is unlikely that the “S + 1” th to Nth data become the variation 0 (the deviation from the average value of the S data is 0), the probability is a value slightly smaller than 100% (for example, 99 It is also effective to use%, 95%, etc.).

以下では、サンプルデータの値が正規分布にしたがうと仮定する。そして、S個のサンプルデータに基づいて、以下の式(5)に示すように、指標値Zが閾値E4(第3の所定値)未満か否かを判定する。

Figure 2019066318
In the following, it is assumed that the values of sample data follow a normal distribution. Then, based on the S sample data, it is determined whether the index value Z is less than the threshold value E4 (third predetermined value), as shown in the following equation (5).
Figure 2019066318

換言すると、判定部512は、第2の所定数がSであり、S個のデータに基づいて、第1の所定数のデータのバラツキ度合が第1の所定値以上になる確率が第2の所定値以上となるか否かを判定する判定値を、自由度S−1のカイ二乗分布に基づいて算出する。   In other words, determination unit 512 determines that the second predetermined number is S, and the probability that the variation degree of the first predetermined number of data is equal to or greater than the first predetermined value is second based on S pieces of data. A determination value for determining whether or not to be a predetermined value or more is calculated based on the chi-square distribution of the degree of freedom S-1.

ここで、図6は、実施形態において指標値Zと閾値E4との関係を示すグラフである。縦軸は、指標値Zの値を表す。符号L11は指標値Zの推移を表す。また、横軸は時間を表し、横軸中の「N」、「S」は、それぞれ、「N個のデータを取得するまでに要する時間」、「S個のデータを取得するまでに要する時間」を表す。S番目までのサンプルデータを取得して算出した指標値ZがE4以上となった場合は(符号L12)、その後、N番目までのサンプルデータを取得した場合に、N個のサンプルデータのバラツキ度合が所定値E以上となる確率は第2の所定値以上であることを示す。以下、閾値E4の決め方について説明する。   Here, FIG. 6 is a graph showing the relationship between the index value Z and the threshold value E4 in the embodiment. The vertical axis represents the value of the index value Z. The code L11 represents the transition of the index value Z. The horizontal axis represents time, and "N" and "S" in the horizontal axis are "time required to acquire N pieces of data" and "time required to acquire S pieces of data, respectively. Represents ". When the index value Z calculated by acquiring the sample data up to the S-th becomes E4 or more (symbol L12), then, when acquiring the sample data up to the N-th, the variation degree of the N sample data Is greater than or equal to the predetermined value E indicates that the probability is greater than or equal to the second predetermined value. Hereinafter, how to determine the threshold value E4 will be described.

ここで、図7(a)は、標準正規分布(平均が0。分散が1)を示すグラフである。図7(b)は、正規分布を示すグラフである。図7(c)は、標準正規分布に対応するカイ二乗分布の累積分布関数を示すグラフである。図7(d)は、正規分布に対応するカイ二乗分布の確率密度関数を示すグラフである。   Here, FIG. 7A is a graph showing a standard normal distribution (mean is 0, variance is 1). FIG. 7 (b) is a graph showing a normal distribution. FIG. 7C is a graph showing the cumulative distribution function of the chi-square distribution corresponding to the standard normal distribution. FIG. 7D is a graph showing the probability density function of the chi-square distribution corresponding to the normal distribution.

サンプルデータが標準正規分布にしたがうと仮定するとサンプルデータ数がS個で算出した指標値Zは自由度「S−1」のカイ二乗分布にしたがう。したがって、図7(a)の標準正規分布について、サンプルデータ数がS個で、自由度「S−1」のカイ二乗分布の累積確率が所定確率P1(例えば0.95)となる数値E2を算出する。そのとき、指標値ZがE2以下となる確率がP1となる。   Assuming that the sample data follows the standard normal distribution, the index value Z calculated with S sample data follows the chi-square distribution with “S−1” degrees of freedom. Therefore, for the standard normal distribution in FIG. 7A, the numerical value E2 is such that the cumulative probability of the chi-square distribution with the degree of freedom “S−1” is S1 (eg, 0.95) when the number of sample data is S. calculate. At that time, the probability that the index value Z becomes equal to or less than E2 is P1.

そして、サンプルデータが正規分布にしたがう場合(図7(b))は、標準正規分布(図7(a))と相互変換可能なので、標準正規分布の場合のE2を、サンプルデータの正規分布の場合の値に変換してE4とする(図7(d))。このようにして、E4を算出することができる。そして、S個のサンプルデータを取得したときに、指標値ZがE4以上となった場合にNGと判定してリセットすればよい。   Then, when the sample data follows the normal distribution (FIG. 7 (b)), since it can be interconverted with the standard normal distribution (FIG. 7 (a)), E2 in the case of the standard normal distribution is the normal distribution of the sample data. Convert to the case value to obtain E4 (FIG. 7 (d)). Thus, E4 can be calculated. Then, when the S sample data are acquired, if the index value Z becomes E4 or more, it may be determined as NG and reset.

また、図6のE4は、直線や折れ線に近似してE41としてもよい。その際、最小二乗法等を用いて近似の直線や折れ線としてもよい。   Further, E4 in FIG. 6 may be approximated to a straight line or a broken line to be E41. At this time, a least squares method or the like may be used to form approximate straight lines or broken lines.

また、サンプルデータ数がS個で、自由度「S−1」のカイ二乗分布の累積確率が所定確率P1(例えば0.95)となる数値E2を算出する代わりに、サンプルデータ数がN個となったときにRMS3が所定値E以上となる確率を考慮し、自由度「N−S−1」のカイ二乗分布の累積確率が所定確率P2(例えば0.05)となる数値E5を算出し、標準正規分布の場合のE5をサンプルデータの正規分布の場合の値に変換してE4としてもよい。この場合、指標値ZがE4以上となったとき、1−P2の確率(例えばP2が0.05のときは0.95となる)でNGとなるため、S個のサンプルデータを取得したときに、指標値ZがE4以上となった場合にNGと判定してリセットすればよい。その場合のE4も、最小二乗法等を用いて近似の直線や折れ線としてもよい。   Also, instead of calculating the numerical value E2 in which the number of sample data is S and the cumulative probability of the chi-square distribution with the degree of freedom “S-1” has a predetermined probability P1 (for example, 0.95), the number of sample data is N In consideration of the probability that RMS3 will be equal to or greater than the predetermined value E when this becomes, calculate the numerical value E5 that the cumulative probability of the chi-square distribution with the degree of freedom “NS−1” becomes the predetermined probability P2 (for example 0.05) Alternatively, E5 in the case of the standard normal distribution may be converted to a value in the case of the normal distribution of sample data to be E4. In this case, when the index value Z becomes E4 or more, it becomes NG with the probability of 1-P2 (for example, 0.95 when P2 is 0.05), so when S sample data are obtained If the index value Z becomes E4 or more, it may be determined as NG and reset. E4 in that case may also be an approximate straight line or a broken line using the least squares method or the like.

また、さらに別の判定基準として、RMS3に対する閾値として、Eの代わりにE6(E6<Eの部分のみ使用)を用いてもよい。E6は、例えば、所定値E7を用いて以下のように表すことができる。
E6=E7×√(S/N)
Further, as another threshold, E6 (using only the portion of E6 <E) may be used instead of E as a threshold for RMS3. E6 can be expressed as follows using, for example, a predetermined value E7.
E6 = E7 × √ (S / N)

このE6を用いることで、Eを用いる場合よりも早くNGを判定し、リセットをすることができる。なお、E7は、センサの仕様におけるノイズの分散の値等により決定することができる。また、E7>Eとすることが好ましい。   By using this E6, NG can be determined and reset earlier than in the case of using E. E7 can be determined by the value of variance of noise in the specification of the sensor. Moreover, it is preferable to set it as E7> E.

次に、図8を参照して、実施形態のECU50による第2のゼロ点補正処理について説明する。図8は、実施形態のECU50による第2のゼロ点補正処理の手順を示すフローチャートである。   Next, the second zero point correction process by the ECU 50 of the embodiment will be described with reference to FIG. FIG. 8 is a flowchart showing the procedure of a second zero point correction process by the ECU 50 of the embodiment.

まず、ステップS11において、処理部510は、RAMの初期化(リセット)を実行する。次に、ステップS12において、取得部511は、センサのデータ(サンプルデータ)を1つ取得する。次に、ステップS13において、処理部510は、2つ以上のデータを取得したか否かを判定し、Yesの場合はステップS14に進み、Noの場合はステップS12に戻る。   First, in step S11, processing unit 510 executes initialization (reset) of the RAM. Next, in step S12, the acquisition unit 511 acquires one sensor data (sample data). Next, in step S13, processing unit 510 determines whether or not two or more pieces of data have been acquired, and in the case of Yes, the process proceeds to step S14, and in the case of No, the process returns to step S12.

ステップS14において、判定部512は、それまでに取得したデータの平均値を算出する。次に、ステップS15において、判定部512は、それまでに取得したデータについて、平均値からの乖離度が所定値(第4の所定値)未満か否かを判定し、Yesの場合はステップS18に進み、Noの場合はステップS16に進む。   In step S14, the determination unit 512 calculates the average value of the data acquired so far. Next, in step S15, the determination unit 512 determines whether or not the degree of deviation from the average value is less than a predetermined value (fourth predetermined value) for the data acquired so far, and in the case of Yes, step S18. If No, the process proceeds to step S16.

ステップS16において、判定部512は、平均値からの乖離度が所定値以上のデータを破棄する。次に、ステップS17において、判定部512は、データ破棄回数が所定回数以上であるか否かを判定し、Yesの場合はステップS11に戻り、Noの場合はステップS18に進む。ステップS11に戻った場合、判定部512は、それまでに取得したデータすべてを使用せず新たなデータを選定するリセット処理を行う。   In step S16, the determination unit 512 discards data whose deviation degree from the average value is equal to or more than a predetermined value. Next, in step S17, the determination unit 512 determines whether the number of times of data discarding is equal to or greater than a predetermined number. If yes, the process returns to step S11, and if no, the process proceeds to step S18. When the process returns to step S11, the determination unit 512 performs a reset process of selecting new data without using all the data acquired so far.

ステップS18において、処理部510は、所定数(例えば100個)のデータを取得したか否かを判定し、Yesの場合はステップS19に進み、Noの場合はステップS12に戻る。ステップS19において、ゼロ点補正部513は、所定数のデータの各種演算結果を用いてセンサのゼロ点を補正する。   In step S18, processing unit 510 determines whether or not a predetermined number (eg, 100) of data has been acquired. If the determination is yes, the process proceeds to step S19, and if the determination is No, the process returns to step S12. In step S19, the zero point correction unit 513 corrects the zero point of the sensor using various calculation results of a predetermined number of data.

なお、図2の処理と、図8の処理は、いずれか一方だけで実行してもよいし、あるいは、両方を並行して実行してもよい。   The process of FIG. 2 and the process of FIG. 8 may be performed by either one or both of them may be performed in parallel.

このようにして、本実施形態のECU50によれば、取得した複数個のデータに基づいて実施される処理を早期に完了することができる。具体的には、例えば、N個のデータのバラツキ度合を判定する前に、N個よりも少ないS個のデータに基づいてN個のデータのバラツキ度合を高精度で予測することで、早期なリセットを実現し、それにより、早期なゼロ点補正完了を実現することができる。   In this manner, according to the ECU 50 of the present embodiment, the process performed based on the plurality of acquired data can be completed early. Specifically, for example, before determining the degree of variation of N pieces of data, the degree of variation of N pieces of data can be predicted with high accuracy based on S pieces of data less than N pieces of data. A reset can be implemented, thereby achieving an early zero correction completion.

より具体的には、例えば、RMS3(式(4))を用いて、S個のデータに基づいて、その後にN個のデータのバラツキ度合が100%の確率で所定値E以上となることを判定することができる。   More specifically, for example, based on S pieces of data using RMS 3 (Equation (4)), the variation degree of N pieces of data thereafter becomes the predetermined value E or more with a probability of 100%. It can be determined.

また、例えば、指標値Z(式(5))を用いて、S個のデータに基づいて、その後にN個のデータのバラツキ度合が高確率で所定値E以上となることを判定することができる。   Also, for example, using index value Z (Equation (5)), based on the S data, it may be determined that the degree of variation of the N data thereafter becomes the predetermined value E or more with high probability. it can.

また、図8の処理によれば、平均値からの乖離度が大きいデータを破棄したり、当該破棄回数が所定回数以上の場合にリセットしたりすることで、ノイズによる影響を抑えることができる。   Further, according to the process of FIG. 8, the influence of noise can be suppressed by discarding data having a large deviation from the average value or resetting when the number of discards is equal to or more than a predetermined number.

また、従来技術と異なり、学習可能なゼロ点は所定範囲内のみに限定されないため、任意の大きさのゼロ点学習を実現できる。つまり、現在のゼロ点が初期値や前回値から大きく離れていた場合にも対応できる。   Further, unlike the prior art, the zero point that can be learned is not limited to only within a predetermined range, so zero point learning of an arbitrary size can be realized. That is, it is possible to cope with the case where the current zero point is far from the initial value or the previous value.

また、すべてのサンプルデータをバッファに記憶させる必要がないため、データ数が多くても、バッファの容量を小さく抑えることができる。   Further, since it is not necessary to store all sample data in the buffer, the capacity of the buffer can be reduced even if the number of data is large.

また、特に、RMS3(式(4))を用いることで、以下の作用効果を奏する。上述した従来のRMS1(RMS2も同様)を用いた手法では、サンプルデータを途中まで取得した時点でRMS1の値が閾値より大きくなっても、RMS1の最終的な値がその閾値よりも大きくなるとは限らない。一方、減少しない増加関数であるRMS3(式(4))を用いることで、RMS1の最終的な値が閾値を超えることを、100%の確率や高確率で予測することができる。   Further, in particular, by using RMS 3 (formula (4)), the following effects can be obtained. In the above-mentioned conventional method using RMS1 (as well as RMS2), even if the value of RMS1 becomes larger than the threshold when sample data is acquired halfway, the final value of RMS1 becomes larger than the threshold. Not exclusively. On the other hand, it is possible to predict that the final value of RMS1 exceeds the threshold with a probability of 100% or a high probability by using RMS3 (Equation (4)) which is an increasing function that does not decrease.

以上、本発明の実施形態が例示されたが、上記実施形態はあくまで例であって、発明の範囲を限定することは意図していない。上記実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、組み合わせ、変更を行うことができる。また、各構成や、形状等のスペック(構造や、種類、数等)は、適宜に変更して実施することができる。   As mentioned above, although the embodiment of the present invention was illustrated, the above-mentioned embodiment is an example to the last, and limiting the scope of the present invention is not intended. The above embodiment can be implemented in other various forms, and various omissions, replacements, combinations, and changes can be made without departing from the scope of the invention. In addition, the specifications (structure, type, number, etc.) of each configuration, shape, etc. can be appropriately changed and implemented.

例えば、本実施形態のゼロ点補正処理を適用するセンサは、ヨーレートセンサに限定されず、加速度センサ等の別のセンサであってもよい。   For example, the sensor to which the zero point correction process of the present embodiment is applied is not limited to the yaw rate sensor, and may be another sensor such as an acceleration sensor.

また、ゼロ点補正処理以外の、例えば、加圧機構で所定の出力を行った際の実際の圧力を取得し、複数のサンプルデータから決定する場合など、複数のサンプルデータに基づいて処理を実施する場合に広く応用可能である。   In addition, other than the zero point correction process, for example, the actual pressure at the time of performing a predetermined output by the pressing mechanism is acquired, and the process is performed based on a plurality of sample data, such as when determining from a plurality of sample data. It can be widely applied to

11…駆動力発生装置、12…操舵装置、13…制動装置、50…ECU、510…処理部、511…取得部、512…判定部、513…ゼロ点補正部(データ処理部)、520…記憶部、FR,FL,RR,RL…車輪。   11 ... driving force generating device, 12 ... steering device, 13 ... braking device, 50 ... ECU, 510 ... processing unit, 511 ... acquisition unit, 512 ... determination unit, 513 ... zero point correction unit (data processing unit), 520 ... Memory unit, FR, FL, RR, RL ... wheels.

Claims (8)

データを取得する取得部と、
第1の所定数の前記データのバラツキ度合が第1の所定値未満であるか否かを判定する前に、前記取得部によって前記第1の所定数よりも少ない第2の所定数の前記データが取得された時点で、前記第2の所定数のデータに基づいて、前記第1の所定数の前記データのバラツキ度合が第1の所定値以上になる確率が第2の所定値以上であるか否かを判定し、当該確率が前記第2の所定値以上であると判定した場合、前記第2の所定数のデータのすべて又は一部を使用せず新たなデータを選定するリセット処理を行う判定部と、
前記判定部によって前記第1の所定数のデータのバラツキ度合が前記第1の所定値未満であると判定された場合、前記第1の所定数のデータを用いて所定の処理を実施するデータ処理部と、を備える車両の電子装置。
An acquisition unit for acquiring data,
The second predetermined number of data less than the first predetermined number by the acquisition unit before determining whether the degree of variation of the first predetermined number of data is less than the first predetermined value. The probability that the variation degree of the first predetermined number of data becomes equal to or higher than the first predetermined value is equal to or higher than the second predetermined value based on the second predetermined number of data when If it is determined that the probability is equal to or higher than the second predetermined value, the reset process is performed to select new data without using all or part of the second predetermined number of data. A determination unit to perform
Data processing for performing a predetermined process using the first predetermined number of data when it is determined by the determination unit that the variation degree of the first predetermined number of data is less than the first predetermined value And an electronic device of a vehicle.
前記判定部は、
前記第1の所定数がNであり、前記第2の所定数がSであり、前記S個のデータと、バラツキが0(ゼロ)と仮定したN−S個のデータに基づいて算出したバラツキ度合の結果に基づいて、前記リセット処理を行う、請求項1に記載の車両の電子装置。
The determination unit is
The variation calculated based on the first predetermined number is N, the second predetermined number is S, and the S pieces of data and N−S pieces of data assuming that the variation is 0 (zero). The vehicle electronic device according to claim 1, wherein the reset process is performed based on a degree result.
前記第1の所定数をN、前記データをx(1≦i≦N)、前記第1の所定値をE、前記第2の所定数をS(2≦S<N)、前記第2の所定値を100%とし、
前記判定部は、下記の式(11)を満たさなかったときに、前記リセット処理を行う、請求項2に記載の車両の電子装置。
Figure 2019066318
The first predetermined number is N, the data is x i (1 ≦ i ≦ N), the first predetermined value is E, the second predetermined number is S (2 ≦ S <N), the second Let 100% be the predetermined value of
The electronic device of the vehicle according to claim 2, wherein the determination unit performs the reset process when the following expression (11) is not satisfied.
Figure 2019066318
前記判定部は、
前記第2の所定数がSであり、前記S個のデータに基づいて、前記第1の所定数の前記データのバラツキ度合が第1の所定値以上になる確率が第2の所定値以上となるか否かを判定する判定値を、自由度S−1のカイ二乗分布に基づいて算出する、請求項1に記載の車両の電子装置。
The determination unit is
The second predetermined number is S, and the probability that the variation degree of the first predetermined number of data becomes equal to or higher than a first predetermined value is equal to or higher than a second predetermined value based on the S pieces of data. The electronic device of the vehicle according to claim 1, wherein a determination value for determining whether or not to be calculated is calculated based on a chi-square distribution of degrees of freedom S-1.
前記第1の所定数をN、前記データをx(1≦i≦N)、前記第1の所定値をE、前記第2の所定数をS(2≦S<N)、前記第2の所定値に対応する第3の所定値をE4とした場合、
前記判定部は、下記の式(12)を満たさなかったときに、前記リセット処理を行う、請求項1に記載の車両の電子装置。
Figure 2019066318
The first predetermined number is N, the data is x i (1 ≦ i ≦ N), the first predetermined value is E, the second predetermined number is S (2 ≦ S <N), the second If the third predetermined value corresponding to the predetermined value of
The electronic device of the vehicle according to claim 1, wherein the determination unit performs the reset process when the following expression (12) is not satisfied.
Figure 2019066318
前記判定部は、前記第2の所定数のデータが取得された後、それまでに取得された前記データの平均値を算出し、前記平均値からの乖離度が第4の所定値以上であるデータを破棄する、請求項1に記載の車両の電子装置。   The determination unit calculates an average value of the data acquired by then after the second predetermined number of data is acquired, and a deviation degree from the average value is equal to or more than a fourth predetermined value. The vehicle electronic device according to claim 1, wherein the data is discarded. 前記判定部は、前記破棄した回数が所定回数以上の場合、前記第2の所定数のデータすべてを使用せず新たなデータを選定するリセット処理を行う、請求項6に記載の車両の電子装置。   The electronic device of a vehicle according to claim 6, wherein, when the number of discards is equal to or more than a predetermined number, the determination unit performs a reset process of selecting new data without using all of the second predetermined number of data. . 前記取得部は、センサによって検出されたデータを取得し、
前記データ処理部は、前記第1の所定数のデータを用いて、前記センサの基準値であるゼロ点を補正するゼロ点補正を実施する、請求項1から請求項7のいずれか一項に記載の車両の電子装置。
The acquisition unit acquires data detected by a sensor,
The data processing unit performs zero point correction that corrects a zero point that is a reference value of the sensor, using the first predetermined number of data. Electronic device of the described vehicle.
JP2017191879A 2017-09-29 2017-09-29 Vehicle electronics Active JP6969264B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017191879A JP6969264B2 (en) 2017-09-29 2017-09-29 Vehicle electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017191879A JP6969264B2 (en) 2017-09-29 2017-09-29 Vehicle electronics

Publications (2)

Publication Number Publication Date
JP2019066318A true JP2019066318A (en) 2019-04-25
JP6969264B2 JP6969264B2 (en) 2021-11-24

Family

ID=66340530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017191879A Active JP6969264B2 (en) 2017-09-29 2017-09-29 Vehicle electronics

Country Status (1)

Country Link
JP (1) JP6969264B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023171255A1 (en) * 2022-03-11 2023-09-14 日野自動車株式会社 Yaw rate calibration device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023171255A1 (en) * 2022-03-11 2023-09-14 日野自動車株式会社 Yaw rate calibration device

Also Published As

Publication number Publication date
JP6969264B2 (en) 2021-11-24

Similar Documents

Publication Publication Date Title
EP2187223B1 (en) System and method for compensating vehicle sensor signals
JP5363906B2 (en) Vehicle speed control device
US20150375719A1 (en) Method for determining a vehicle reference speed and vehicle controller having such a method
JP2010089698A (en) Automatic driving system and automatic driving method
EP2818378B1 (en) Turning characteristic estimating device for vehicle
JP2008094246A (en) Vehicular braking control device
CN109690651A (en) The travel control method and travel controlling system of vehicle
CN110059095B (en) Data updating method and device
JP2016206976A (en) Preceding vehicle track calculation device for driving support control of vehicle
US20210171044A1 (en) Apparatus for Estimating Friction Coefficient of Road Surface and Method Thereof
JP6969264B2 (en) Vehicle electronics
JP5522082B2 (en) Road information learning device
US20180056952A1 (en) Hydraulic apparatus and control method for hydraulic apparatus
JP2007271606A (en) Acceleration estimation device and vehicle
JP4622729B2 (en) Body speed calculation device
KR102585752B1 (en) Control method of rear wheel steering system
KR101795251B1 (en) Method for controlling braking force by considering driver&#39;s propensity to brake
JP2008155889A (en) Running stability determination device of vehicle and running stability control device using the same
CN110582425A (en) Method and device for controlling a vehicle
CN110525442B (en) Gradient detection method and system and vehicle
JP6528708B2 (en) Vehicle control device
JP2004115011A (en) Method to adjust travelling characteristic by giving influence to yaw rate
JP2008122197A (en) State quantity computing device
JP6587803B2 (en) Vehicle travel control device and vehicle travel control method
CN108437979A (en) Turn inside diameter control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200817

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210618

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210629

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210928

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211011

R150 Certificate of patent or registration of utility model

Ref document number: 6969264

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150