JP2023140118A - Control device and vehicle - Google Patents
Control device and vehicle Download PDFInfo
- Publication number
- JP2023140118A JP2023140118A JP2022045992A JP2022045992A JP2023140118A JP 2023140118 A JP2023140118 A JP 2023140118A JP 2022045992 A JP2022045992 A JP 2022045992A JP 2022045992 A JP2022045992 A JP 2022045992A JP 2023140118 A JP2023140118 A JP 2023140118A
- Authority
- JP
- Japan
- Prior art keywords
- nonvolatile memory
- vehicle
- control device
- writing
- driving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000005259 measurement Methods 0.000 claims abstract description 29
- 238000001514 detection method Methods 0.000 claims description 59
- 230000001133 acceleration Effects 0.000 claims description 19
- 239000004065 semiconductor Substances 0.000 claims description 6
- 230000006870 function Effects 0.000 description 15
- 238000000034 method Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006866 deterioration Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 210000003462 vein Anatomy 0.000 description 1
Images
Landscapes
- Time Recorders, Dirve Recorders, Access Control (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
本発明は、主に車載用制御装置に関する。 The present invention mainly relates to a vehicle-mounted control device.
特許文献1には、例えば急減速等、車両の運転態様が基準を満たした場合に、その内容を示す情報を車載の不揮発性メモリに記憶させる装置として、イベンドデータレコーダ(EDR)の構成が記載されている。特許文献1によれば、不揮発性メモリのメモリ残容量が基準以下となった場合、該不揮発性メモリに書き込まれるべき情報は、通信装置を介して車外のサーバに送信される。
通信環境によっては適切な通信が実現困難な場合も考えられるため、該情報は車載の不揮発性メモリにて記憶されることが求められうる。一方、不揮発性メモリには、フラッシュメモリ等の半導体メモリが典型的に用いられ、書込み回数及びそれに伴う信頼性の観点から、不揮発性メモリの無用な活用が抑制されるとよい。 Since it may be difficult to achieve appropriate communication depending on the communication environment, the information may be required to be stored in an on-vehicle nonvolatile memory. On the other hand, a semiconductor memory such as a flash memory is typically used as the nonvolatile memory, and unnecessary use of the nonvolatile memory is preferably suppressed from the viewpoint of the number of writes and the associated reliability.
本発明は、上記課題の認識を契機として成されたものであり、運転態様の情報を不揮発性メモリに記憶させる構成において該不揮発性メモリの無用な活用を抑制することを例示的目的とする。 The present invention was made in recognition of the above-mentioned problem, and an exemplary object of the present invention is to suppress unnecessary use of nonvolatile memory in a configuration in which information on driving conditions is stored in nonvolatile memory.
本発明の一つの側面は制御装置に係り、前記制御装置は、
不揮発性メモリへの書込みを制御するための車載用制御装置であって、
車両の運転態様が基準を満たした場合に、該運転態様に対応するデータを前記不揮発性メモリに書き込む書込み手段と、
前記書込み手段による書込みの回数を計測する計測手段と、
前記書込み手段が前記不揮発性メモリに書き込むデータ量を前記計測手段の計測結果に基づいて制限する制限手段と、を備える
ことを特徴とする。
One aspect of the present invention relates to a control device, the control device including:
An in-vehicle control device for controlling writing to nonvolatile memory,
writing means for writing data corresponding to the driving manner in the nonvolatile memory when the driving manner of the vehicle satisfies the criteria;
Measuring means for measuring the number of writes by the writing means;
It is characterized by comprising a limiting means for limiting the amount of data written by the writing means to the non-volatile memory based on a measurement result of the measuring means.
本発明によれば、不揮発性メモリの無用な活用を抑制可能となる。 According to the present invention, unnecessary use of nonvolatile memory can be suppressed.
以下、添付図面を参照して実施形態を詳しく説明する。なお、以下の実施形態は特許請求の範囲に係る発明を限定するものでなく、また実施形態で説明されている特徴の組み合わせの全てが発明に必須のものとは限らない。実施形態で説明されている複数の特徴のうち二つ以上の特徴が任意に組み合わされてもよい。また、同一若しくは同様の構成には同一の参照番号を付し、重複した説明は省略する。 Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the claimed invention, and not all combinations of features described in the embodiments are essential to the invention. Two or more features among the plurality of features described in the embodiments may be arbitrarily combined. In addition, the same or similar configurations are given the same reference numerals, and duplicate explanations will be omitted.
<第1実施形態>
(システム構成について)
図1は、第1実施形態に係る車両1のシステム構成の一例を示すブロック図である。車両1は、車輪11、運転操作装置12、検出装置13、運転支援装置14、揮発性メモリ15、不揮発性メモリ16、制御装置17および位置特定装置18を備える。車両1は、本実施形態では、2つの前輪および2つの後輪を車輪11として備える四輪車とするが、他の実施形態として、二輪車や三輪車であってもよく、車輪11の数は本例に限られない。
<First embodiment>
(About system configuration)
FIG. 1 is a block diagram showing an example of a system configuration of a
運転操作装置12は、加速用操作子121、減速用操作子122および操舵用操作子123を含む。一般に、操作子121にはアクセルペダルが用いられ、また、操作子122にはブレーキペダルが用いられうる。また、操作子123にはステアリングホイールが用いられうる。操作子121~123には、レバー式、ボタン式等、他の方式のものが採用されてもよい。
The
検出装置13は、車両1の運転態様を検出する。運転態様は、典型的には、車両1の前後方向及び/又は左右方向の速度および加速度に直接的または間接的に関連する要素を示す。その例としては、車両1の加速、減速および操舵を実現する操作子121~123の操作量、或いは、其れ/其れらに対応する物理量が挙げられる。一例として、検出装置12は、操作子121~123の個々の操作量を検出する。
The
尚、検出装置13による検出内容は本例に限られるものではなく、検出装置13は、車両1の走行の有無に関わらず車両1についての多様な状態を検出可能であり、それ/それらを示す情報を取得可能とする。
Note that the detection contents by the
このような検出装置13の検出結果は、該検出の際の関連情報と共に後述の揮発性メモリ15に記憶されうる。この関連情報の例としては、該検出の際の時刻を示す時刻情報、該検出の際の地図データ上における車両1の位置を示す位置情報等が挙げられる。
The detection result of the
運転支援装置14は、所定の運転支援を実行する。運転支援の概念には、加速操作、減速操作および操舵操作の少なくとも1つを支援することが含まれる。このような運転支援装置14により、車両1は、運転支援モードおよび手動運転モードを動作モードとして含む。運転支援モードにおいては、運転支援装置14は、加速操作、減速操作および操舵操作の一部または全部を支援し、それにより乗員の運転者としての負荷を軽減することができる。一方、手動運転モードにおいては、車両1の運転操作の主体は乗員であり、該乗員が運転者として加速操作、減速操作および操舵操作の全部を行う。
The
尚、運転支援装置14は加速操作、減速操作および操舵操作の全部を支援する場合、車両1の運転操作の主体は運転支援装置14となり、そのような動作モードは自動運転モードと表現されて運転支援モードとは区別される場合がある。
In addition, when the
また、運転支援の概念には、運転操作についての直接的な支援の他、間接的な支援が含まれてもよい。よって、運転支援装置14は、例えば目的地への走行経路の演算処理、其れに関する乗員ないし運転者への通知などを更に実行可能であってもよい。
Further, the concept of driving support may include not only direct support for driving operations but also indirect support. Therefore, the
揮発性メモリ15は、詳細については後述とするが、検出装置13の検出結果を一時的に記憶する。揮発性メモリ15には、DRAM(ダイナミックランダムアクセスメモリ)が一般に用いられうる。
The
不揮発性メモリ16は、詳細については後述とするが、揮発性メモリ15に一時的に記憶された検出装置13の検出結果の一部を記憶することができる。不揮発性メモリ16には、公知の半導体メモリないし半導体素子メモリが用いられればよく、その主な例としては、eMMC(embedded Multi Media Card)、UFS(Universal Flash Storage)、SSD(Solid State Drive)等のNAND型フラッシュメモリが挙げられるが、NOR型フラッシュメモリが用いられてもよい。
The
制御装置17は、検出装置13の検出結果を継続的に揮発性メモリ15に記憶させ、所定条件の成立に応じて、そのうち一部を選択して不揮発性メモリ16に記憶させる。即ち、検出装置13は、車両1の運転態様を継続的に検出しており、その検出結果は、順次、揮発性メモリ15に書き込まれる。一方、所定条件が成立した場合には、揮発性メモリ15に書き込まれた検出結果から対応の一部が選択され、不揮発性メモリ16に書き込まれることとなる。
The
上記条件の成立の例としては、車両1の加速の際の加速度の絶対値が基準値より大きくなること、車両1の減速の際の加速度の絶対値が基準値より大きくなること等が挙げられうる。上記条件の成立の他の例としては、車両1に外部から加わったインパクト値が基準値より大きくなること等が挙げられうる。よって、車両1に不測の事態が発生した場合、即ち車両1の運転態様が基準を満たした場合、検出装置13の検出結果が選択的に不揮発性メモリ16に書き込まれればよい。
Examples of the fulfillment of the above conditions include the fact that the absolute value of the acceleration when the
尚、制御装置17の個々の機能はソフトウェア及びハードウェアの何れによって実現されてもよい。例えば、制御装置17が備える複数の機能は、メモリを伴う1以上のプロセッサ回路がプログラムを個別に読み出して実行することにより実現されてもよい。或いは、該複数の機能は、其れらに対応する複数の回路部(例えばASIC(特定用途向け集積回路))を駆動することにより実現されてもよい。
Note that the individual functions of the
位置特定装置18は、車両1の地図データ上における車両1の位置を特定し、その位置情報を取得可能とする。位置特定装置18の例としては、GNSS(Global Navigation Satelite System)センサが挙げられる。また、地図データの例としては、カーナビゲーションシステムに典型的に用いられうるもの、例えば、HD(High-definition)マップ、SD(Standard)マップ等が挙げられる。他の例として、車両1が過去に走行した情報に基づいて生成され又は更新された環境地図が用いられてもよい。例えば、前述の運転支援装置14は、位置特定装置18により取得される位置情報に基づいて運転支援を行うことが可能となる。
The
これらの要素12~18は、システムバス等を介して信号の授受が可能となっており、このような構成により、制御装置17は、不揮発性メモリ16への書込みを制御し、本実施形態においては、車両1に不測の事態が発生した場合、そのことを示す情報(或いはデータ)として検出装置13の検出結果の一部を不揮発性メモリ16に記憶させる。
These
これらの要素12~18は、ここでは説明の容易化のため、それぞれ個別のユニットとして示されるが、其れらの機能の少なくとも一部は、別体で設けられてもよいし、他の一部と一体に設けられてもよい。即ち、要素12~18は、1以上のECU(電子制御ユニット)により形成され、機能や用途に応じて、複数のECUが車両1の対応位置にそれぞれ設置されてもよい。
These
以下の説明において、車両1に発生した不測の事態は「イベント」と表現され、不揮発性メモリ16に書き込まれる情報は「イベントデータ」と表現されうる。イベントデータが記録として不揮発性メモリ16に書き込まれることから、制御装置17は、検出装置13および不揮発性メモリ16(並びに、付随的に揮発性メモリ15)と共に「イベントデータレコーダ」と表現されうる。イベントデータは、所定期間が過ぎたもの或いは古いものから順に不揮発性メモリ16から消去され、また、新しいものに上書きされる。
In the following description, an unexpected situation occurring in the
(不揮発性メモリの活用態様について)
ところで、不揮発性メモリ16には、前述のイベントデータの他、運転支援モードにおいて、運転支援の実現に必要な情報(或いはデータ)が制御装置17により書き込まれる。運転支援モードにおいて不揮発性メモリ16に書き込まれるべき情報は、所定の法規に基づいて規定され、その例として、
“道路運送車両の保安基準(2021年4月28日現在)”の「別添123 作動状態記録装置の技術基準」,国土交通省,https://www.mlit.go.jp/common/001346769.pdf
が挙げられる。
(About how non-volatile memory is used)
By the way, in addition to the above-mentioned event data, information (or data) necessary for realizing driving support in the driving support mode is written into the
“
can be mentioned.
そのため、前述のイベントデータが無用に高い頻度で不揮発性メモリ16に書き込まれてしまうと、不揮発性メモリ16を早期に劣化させてしまうこととなる。このことは、運転支援モードにて不揮発性メモリ16が活用困難となったり、更には、運転支援そのものが実行困難となったりする原因ともなりうる。よって、イベントデータの不揮発性メモリ16への無用な書込みは抑制ないし低減される必要がある。
Therefore, if the above-mentioned event data is written to the
図2は、イベントデータの不揮発性メモリ16への書込みの制御方法の一例を示すフローチャートである。本フローチャートは、主に制御装置17により実行され、その概要は、不揮発性メモリ16への書込み回数が大きい場合に、不揮発性メモリ16に書き込まれるべきイベントデータのデータ量を制限する、というものである。また、本フローチャートは、運転支援モードおよび手動運転モードに関わらず、車両1の起動(車両1が走行可能状態になったこと)に応じて開始されるものとする。
FIG. 2 is a flowchart illustrating an example of a method for controlling writing of event data into the
ステップS2000(以下、単に「S2000」とする。後述の他のステップについても同様とする。)では、制御装置17は、検出装置13の検出結果(車両1の運転態様を示す情報)を取得して揮発性メモリ15に書き込む。この観点で、制御装置17は取得部および書込み部として機能すると云える。
In step S2000 (hereinafter simply referred to as "S2000"; the same applies to other steps described later), the
S2010では、制御装置17は、イベント(不測の事態)の発生の有無を判定する。この観点で、制御装置17は判定部として機能すると云える。ここでは、一例として、車両1に発生した加速度の絶対値が基準値より大きくなることに応答して、イベントが発生したものと判定する。そのため、S2010の判定は、検出装置13の検出結果の揮発性メモリ15への書込み(S2000)と実質的に同時に行われうる。また、S2010の判定は、車両1に典型的に搭載されうる加速度センサに基づいて行われてもよいが、代替的/付随的に、検出装置13の検出結果に基づいて行われてもよい。イベントが発生した場合にはS2020に進み、そうでない場合にはS2000に戻る。
In S2010, the
ここで、イベントが発生していない場合にはS2010からS2000に戻るため、前述のとおり、検出装置13は車両1の運転態様を継続的に検出しており、その検出結果は常に揮発性メモリ15に書き込まれていることとなる。尚、S2000にて揮発性メモリ15に書き込まれた検出装置13の検出結果は、例えば所定時間の経過後に消去されるものとし、即ち、該検出結果のうち比較的新しいものが揮発性メモリ15に一時的に保持される。
Here, if no event has occurred, the process returns from S2010 to S2000. Therefore, as described above, the
S2020では、制御装置17は、イベントデータの不揮発性メモリ16への書込みの実行を示す信号Sig0を発生する。この観点で、制御装置17は信号発生部として機能すると云える。詳細については後述とするが、信号Sig0に基づいて、揮発性メモリ15に保持されている検討結果のうち対応の一部が読み出される。ここで、制御装置17は、カウンターを内蔵しており、信号Sig0の発生と共に、不揮発性メモリ16への書込みの回数を示す値Val0をカウントアップする。
In S2020, the
以下の説明において、信号Sig0は書込み実行信号Sig0と示され、また、値Val0は書込み回数計測値Val0と示される場合がある。 In the following description, the signal Sig0 may be indicated as the write execution signal Sig0, and the value Val0 may be indicated as the write count measurement value Val0.
S2030では、制御装置17は、書込み回数計測値Val0が閾値ValTH1に達したか否かを判定する。この観点で、制御装置17は判定部として機能すると云える。Val0≧ValTH1の場合にはS2040に進み、そうでない場合(Val0<ValTH1の場合)にはS2110に進む。
In S2030, the
S2040では、制御装置17は、書込み回数計測値Val0が閾値ValTH2(>ValTH1)に達したか否かを判定する。この観点で、制御装置17は判定部として機能すると云える。Val0≧ValTH2の場合にはS2310に進み、そうでない場合(Val0<ValTH2の場合)にはS2210に進む。
In S2040, the
S2110では、制御装置17は、実行信号Sig0に基づいて、揮発性メモリ15から検出装置13の検出結果の一部を読み出して、該一部をイベントデータとして不揮発性メモリ16に書き込む。この観点で、制御装置17は、読出し部および書込み部として機能すると云える。ここで、S2110では、Val0<ValTH1であり、イベントデータの不揮発性メモリ16への書込みの回数が比較的小さいと云える。そのため、S2110にて不揮発性メモリ16に書き込まれるイベントデータは、所定の基準に基づくデータ量であればよい(後述の他のイベントデータとの区別のため、イベントデータD1とする。)。尚、イベントデータD1は、信号Sig0の発生のタイミングを基準とする所定期間分の検出装置13の検出結果とする。
In S2110, the
S2210では、ValTH1≦Val0<ValTH2であり、イベントデータの不揮発性メモリ16への書込みの回数が比較的大きいと云える。そのため、S2210では、不揮発性メモリ16に書き込まれるべきイベントデータのデータ量がS2110の場合より制限され、該データ量が制限されたイベントデータ(区別のため、イベントデータD2とする。)が不揮発性メモリ16に書き込まれる。この観点で、制御装置17は、読出し部、書込み部および制限部として機能すると云える。
In S2210, Val TH1 ≦Val0<Val TH2 , and it can be said that the number of times event data is written to the
ここで、S2210においては、付随的に、不揮発性メモリ16への書込みの回数が比較的大きいことが運転支援装置14に通知されてもよい。運転支援モードは、運転支援レベル(運転支援の度合い)が異なる2以上のモードを含みうる。その場合、運転支援装置14は、実行中のモードを上記通知に基づいて運転支援レベルの低いモードに変更し、それにより、運転支援モードにおいて不揮発性メモリ16に書き込まれるべき情報に所定の制限を加えることが可能となる。
Here, in S2210, the driving
例えば、運転支援モードが、第1モードと、それよりも運転支援レベルが低い第2モードとを含み、上記通知の際に運転支援装置14が第1モードを実行していた場合には、運転支援装置14は、上記通知に応答して運転支援モードを第1モードから第2モードに変更することが可能となる。運転支援モードが3以上のモードを含む場合には、運転支援モードは段階的に運転支援レベルの低いモードに変更されてもよい。
For example, if the driving support mode includes a first mode and a second mode with a lower driving support level than the first mode, and the driving
S2310では、Val0≧ValTH2であり、イベントデータの不揮発性メモリ16への書込みの回数が更に大きいと云える。そのため、S2310では、不揮発性メモリ16に書き込まれるべきイベントデータのデータ量がS2210の場合より更に制限され、該データ量が更に制限されたイベントデータ(区別のため、イベントデータD3とする。)が不揮発性メモリ16に書き込まれる。この観点で、制御装置17は、読出し部、書込み部および制限部として機能すると云える。
In S2310, Val0≧ ValTH2 , and it can be said that the number of times event data is written to the
S2210同様、S2310においても、不揮発性メモリ16への書込みの回数が更に大きいことが運転支援装置14に通知されるとよい。この場合、運転支援モードは、S2210の場合に比べて運転支援レベルの低いものに変更されるとよく、例えば、イベントデータの記録が不要なものに変更されてもよいが、手動運転モードに変更されてもよい。
Similarly to S2210, in S2310 as well, the driving
尚、閾値ValTH1及びValTH2には、例えば数百、数千等の値が設定されうるが、それらに限定されるものではなく、不揮発性メモリ16の設計に基づく値が予め設定されればよい。
Note that the threshold values Val TH1 and Val TH2 may be set to, for example, several hundreds or thousands of values, but are not limited to these, and may be set in advance to values based on the design of the
ここで、検出装置13の検出結果を示す上述のイベントデータD1、D2及びD3について、データ量の制限は、不揮発性メモリ16の使用領域が抑制されればよく、実質的にデータサイズそのものが小さいことに対応する。よって、例えば、検出装置13が複数の項目(例えば加速の態様、減速の態様、操舵の態様等)を検出し、イベントデータD1が該複数の項目の検出結果を示す場合、イベントデータD2又はD3は、該複数の項目のうちの一部の検出結果を示してもよい。また、例えば、イベントデータD1が、信号Sig0の発生のタイミングを基準とする所定期間の検出結果を示す場合、イベントデータD2又はD3は、より短い期間の検出結果を示してもよい。そして、イベントデータの不揮発性メモリ16への書込みの回数(即ち計測値Val0)が無用に大きい場合には、制御装置17は、不揮発性メモリ16に書き込むべきイベントデータのデータ量を制限する。それにより、イベントデータの書込みに際して使用される不揮発性メモリ16の使用領域が小さくなり、不揮発性メモリ16の無用な活用が適切に防止され、よって、不揮発性メモリ16の劣化が抑制されうる。
Here, regarding the above-mentioned event data D1, D2, and D3 indicating the detection results of the
書込み回数計測値Val0が許容上限値(>ValTH2)に近付いた場合、ここではValTH1≦Val0<ValTH2が成立した場合には、不揮発性メモリ16は新しいものに交換されるとよい。よって、そのような場合には、不揮発性メモリ16の交換が必要であることが、乗員ないし運転者に通知されるとよい。このことは、運転支援装置14が付随的に備えうるデバイス(例えば液晶ディスプレイなど)によって実現されてもよいし、或いは、車両1に典型的に搭載されうる音源によって実現されてもよい。その際、付随的に運転支援モードの実行が制限されてもよい。
When the write count measurement value Val0 approaches the allowable upper limit value (>Val TH2 ), in this case, when Val TH1 ≦ Val0 < Val TH2 holds true, the
以上、本実施形態によれば、制御装置17は、車両1の運転態様が基準を満たした場合にイベントデータを不揮発性メモリ16に書き込むのに際して、不揮発性メモリ16への書込み回数の計測結果に基づいて、該イベントデータのデータ量を制限する。該制限されるデータ量は、書込みの回数が大きくなるほど大きいため、不揮発性メモリ16の無用な活用が適切に防止され、不揮発性メモリ16の劣化が抑制されうる。
As described above, according to the present embodiment, when writing event data to the
また、運転支援モードが運転支援レベルの異なる2以上のモードを含む場合には、不揮発性メモリ16に書き込まれるべきイベントデータのデータ量が制限された後においても、運転支援装置14は、運転支援レベルが比較的低いモードにて運転支援を実行可能となる。そのため、不揮発性メモリ16が交換されるまでの間、例えば車両1が修理工場に到着するまでの間、運転支援レベルが比較的低いモードにて運転支援を活用可能となる。
Further, if the driving support mode includes two or more modes with different driving support levels, even after the amount of event data to be written to the
本実施形態では、イベントデータD1は、信号Sig0の発生のタイミングを基準とする所定期間分の検出装置13の検出結果としたが、該検出結果は、信号Sig0の発生前の期間のもの及び信号Sig0の発生後の期間のものを含んでもよい。即ち、イベントの発生前の車両1の運転態様だけでなく、イベントの発生後の車両1の運転態様についても、イベントデータとして不揮発性メモリ16に記録されるとよい。このことは、信号Sig0の発生後においても検出装置13により継続的に検出され且つ揮発性メモリ15に継続的に書き込まれる検出結果を該揮発性メモリ15から読み出して不揮発性メモリ16に書き込むことにより、実現可能である。
In the present embodiment, the event data D1 is the detection result of the
また、本実施形態では、書込み回数計測値Val0の計測に、制御装置17に内蔵されたカウンターを用いることとしたが、カウンターは、制御装置17とは別体で設けられてもよく、例えば不揮発性メモリ16に設けられてもよい。尚、カウンターによる計測値Val0の計測は、カウントダウンにより計測されてもよく、即ち、累積的に計測されたものであればよい。
Further, in this embodiment, the counter built in the
また、本実施形態では、不揮発性メモリ16には、イベントデータの他、運転支援モードの実現に必要な情報が更に書き込まれるものとしたが、不揮発性メモリ16の無用な活用が適切に防止されればよく、記憶装置の構成は本例に限定されない。よって、他の実施形態として、例えば、運転支援モードの実現に必要な情報が書き込まれるべき他の不揮発性メモリが不揮発性メモリ16とは別体で設けられてもよい。
Further, in the present embodiment, in addition to event data, information necessary for realizing the driving support mode is further written in the
<第2実施形態>
不揮発性メモリ16に書き込まれるイベントデータのデータ量は、例えば、イベントデータD1が32KB(キロバイト)、イベントデータD2が16KB、及び、イベントデータD3が8KB、と規格化されることが考えられる。そのため、規格化に対応した態様で書込み回数が計測されることが求められうる。
<Second embodiment>
The amount of event data written to the
よって、第1実施形態では、イベントの発生に応答して信号Sig0を発生すると共に書込み回数計測値Val0をカウントアップすることを例示したが(図2のS2020参照)、計測値Val0の計測は、不揮発性メモリ16の所定領域毎に行われるとよい。
Therefore, in the first embodiment, the signal Sig0 is generated in response to the occurrence of an event, and the write count measurement value Val0 is counted up (see S2020 in FIG. 2), but the measurement of the measurement value Val0 is as follows. It is preferable to perform this for each predetermined area of the
例えば、前述のイベントデータD1(32KB)、イベントデータD2(16KB)およびイベントデータD3(8KB)の例では、単位ブロックを8KBとして、イベントデータD1に4つのブロックが用いられ、イベントデータD2に2つのブロックが用いられ、また、イベントデータD3に1つのブロックが用いられることとなる。このブロックは、メモリブロックとも表現されうる。 For example, in the above-mentioned example of event data D1 (32 KB), event data D2 (16 KB), and event data D3 (8 KB), the unit block is 8 KB, and four blocks are used for event data D1, and two blocks are used for event data D2. In addition, one block will be used for event data D3. This block can also be expressed as a memory block.
また、一般にメモリの容量はアドレス毎に管理される。そのため、メモリブロック毎に単一のアドレスを割り当てることで、アドレス毎に計測値Val0を計測可能となる。 Furthermore, memory capacity is generally managed for each address. Therefore, by assigning a single address to each memory block, the measurement value Val0 can be measured for each address.
例えば、図3(a)に示されるように、計測値Val0は、不揮発性メモリ16の物理アドレス毎に計測されて管理されてもよい。他の例として、図3(b)に示されるように、計測値Val0は、イベントデータ毎に計測されて2以上の物理アドレスについて管理されてもよい。これらの場合、計測値Val0を計測するカウンターは、不揮発性メモリ16に設けられればよい。制御装置17は、計測値Val0を示す情報を不揮発性メモリ16から取得すればよい。
For example, as shown in FIG. 3A, the measurement value Val0 may be measured and managed for each physical address of the
また、図3(c)に示されるように、不揮発性メモリ16の物理アドレスに対しては、外部装置によるアクセスが可能となるように論理アドレスが相互に紐付けられる。書込み回数計測値Val0は、この論理アドレスを用いて管理されてもよい。
Furthermore, as shown in FIG. 3C, logical addresses are linked to physical addresses of the
更に、メモリにおける単一のアドレスについての容量は、不揮発性メモリ16のデバイス構造そのものによって異なりうる。よって、計測値Val0は、図3(a)の例同様、物理アドレス毎に管理されてもよいが、図3(b)の例同様、イベントデータの記録に2以上の物理アドレスを要する場合にはイベントデータ毎に管理されるとよい。
Furthermore, the capacity for a single address in memory may vary depending on the device structure of
また、論理アドレスに紐付けられた物理アドレスの書込み回数計測値Val0が、他の物理アドレスの計測値Val0に比べて多い場合には、該論理アドレスは、計測値Val0の小さい物理アドレス(書き込み回数の少ない物理アドレス)に紐付けが変更されてもよい。それにより、其れら物理アドレス間の書込み回数計測値Val0の差を小さくすることが可能となり、即ち、複数のメモリブロック間の書き込み回数の平準化を図ることができる。 Furthermore, if the write count measurement value Val0 of the physical address linked to the logical address is greater than the measurement value Val0 of other physical addresses, the logical address is a physical address with a smaller measurement value Val0 (write count The association may be changed to a physical address with a small number of physical addresses). Thereby, it is possible to reduce the difference in the write count measurement value Val0 between the physical addresses, that is, it is possible to equalize the write count among the plurality of memory blocks.
カウンターが不揮発性メモリ16に設けられる場合、制御装置17は、書込み回数計測値Val0を示す情報を不揮発性メモリ16から取得するのに際して、論理アドレスと物理アドレスとの対応関係を示すページテーブルを用いることができる。
When the counter is provided in the
尚、図4に示されるように、揮発性メモリ15から不揮発性メモリ16に転送されるデータを監視する監視部19が更に設けられてもよい。監視部19は、要素12~18を接続するシステムバスを監視するように設けられてもよいし、不揮発性メモリ16への入力データを監視するように設けられてもよい。これにより、書込み回数計測値Val0は、監視部19の監視結果により計測可能となる。この場合、制御装置17は、書込み回数計測値Val0を示す情報を監視部19から取得すればよい。
Note that, as shown in FIG. 4, a
このような計測態様によれば、不揮発性メモリ16は、複数のブロックの書込み回数が平均化されるように活用可能となる。この場合、其れらの計測値Val0の演算値(例えば平均値、最大値、合計値など)に基づいて、不揮発性メモリ16に書き込まれるべきイベントデータのデータ量が制限されるか否かが決定されてもよい。
According to such a measurement mode, the
以上の説明においては、理解の容易化のため、各要素をその機能面に関連する名称で示したが、各要素は、実施形態で説明された内容を主機能として備えるものに限られるものではなく、それを補助的に備えるものであってもよい。よって、各要素は、その表現に厳密に限定されるものではなく、その表現は同様の表現に置換え可能とする。同様の趣旨で、「装置(apparatus)」という表現は、「部(unit)」、「部品(component, piece)」、「部材(member)」、「構造体(structure)」、「組立体(assembly)」等に置換されてもよいし或いは省略されてもよい。 In the above explanation, each element has been given a name related to its function to facilitate understanding, but each element is not limited to having the content explained in the embodiment as its main function. Instead, it may be supplementary. Therefore, each element is not strictly limited to its expression, and its expression can be replaced with a similar expression. In a similar vein, the expression "apparatus" can be used as a "unit," "component, piece," "member," "structure," or "assembly." assembly)" or may be omitted.
例えば、不揮発性メモリ16は、メモリセルとの区別のため、不揮発性メモリ部、不揮発性メモリ装置などと表現されてもよい。
For example, the
以上の実施形態によれば、運転支援の不測の停止が防止可能となると共に利便性の高い車両が多岐の用途で利用可能となり、このことは、産業と技術革新の基盤の構築、更には多様化する社会における福祉の推進に寄与しうる。また、不揮発性メモリ16の書込み回数の無用な増大を防止し及び/又は不揮発性メモリ16を適切に活用することが可能となり、不揮発性メモリ16の無用な廃棄の削減ないし防止に寄与しうる。
According to the embodiments described above, it is possible to prevent unexpected stoppage of driving assistance, and a highly convenient vehicle can be used for a wide variety of purposes. It can contribute to the promotion of welfare in an increasingly globalized society. Further, it becomes possible to prevent an unnecessary increase in the number of writes to the
(実施形態のまとめ)
以上の実施形態の幾つかの特徴は次のように纏められる:
第1の態様は制御装置(例えば17)に係り、前記制御装置は、
不揮発性メモリ(例えば16)への書込みを制御するための車載用制御装置であって、
車両の運転態様が基準を満たした場合に、該運転態様に対応するデータを前記不揮発性メモリに書き込む書込み手段(例えばS2110、S2210、S2310)と、
前記書込み手段による書込みの回数を計測する計測手段(例えばS2020)と、
前記書込み手段が前記不揮発性メモリに書き込むデータ量を前記計測手段の計測結果に基づいて制限する制限手段(例えばS2110、S2210、S2310)と、を備える
ことを特徴とする。このような特徴によれば、不揮発性メモリが無用に活用されることなくイベントデータを記憶させることができる。
(Summary of embodiments)
Some features of the above embodiments can be summarized as follows:
A first aspect relates to a control device (for example, 17), the control device including:
An on-vehicle control device for controlling writing to a non-volatile memory (e.g. 16), comprising:
a writing means (for example, S2110, S2210, S2310) for writing data corresponding to the driving manner into the nonvolatile memory when the driving manner of the vehicle satisfies a criterion;
a measuring means (for example, S2020) that measures the number of writes by the writing means;
The present invention is characterized in that it includes a limiting unit (for example, S2110, S2210, S2310) that limits the amount of data written by the writing unit to the nonvolatile memory based on the measurement result of the measuring unit. According to such a feature, event data can be stored without using the nonvolatile memory unnecessarily.
第2の態様は、
前記制限されるデータ量は、前記書込みの回数が大きくなるほど大きい
ことを特徴とする。このような特徴によれば、不揮発性メモリの無用な活用を適切に防止可能となる。
The second aspect is
The limited data amount increases as the number of writes increases. According to such features, unnecessary use of nonvolatile memory can be appropriately prevented.
第3の態様は、
前記計測手段は、前記不揮発性メモリのアドレス毎に前記書込みの回数を計測する
ことを特徴とする。このような特徴によれば、不揮発性メモリの複数の領域を適切に活用可能となる。
The third aspect is
The measuring means measures the number of times of writing for each address of the nonvolatile memory. According to such features, it becomes possible to appropriately utilize multiple areas of nonvolatile memory.
第4の態様は、
前記車両の前記運転態様が前記基準を満たすことは、
前記車両の加速の際の加速度の絶対値が基準値より大きくなること、
前記車両の減速の際の加速度の絶対値が基準値より大きくなること、及び、
前記車両に外部から加わったインパクト値が基準値より大きくなること、
の少なくとも1つを含む
ことを特徴とする。このような特徴によれば、イベントデータを記憶させることができる。
The fourth aspect is
The driving mode of the vehicle satisfies the criteria,
the absolute value of acceleration when the vehicle accelerates is greater than a reference value;
The absolute value of acceleration when the vehicle is decelerated is greater than a reference value, and
an impact value applied to the vehicle from the outside is greater than a reference value;
It is characterized by containing at least one of the following. According to such features, event data can be stored.
第5の態様は、
前記不揮発性メモリは、半導体メモリ(例えば16)を含む
ことを特徴とする。前述の制御装置は、例えばフラッシュメモリ等の半導体メモリへの書込みの制御を実現するのに適用可能である。
The fifth aspect is
The nonvolatile memory includes a semiconductor memory (for example, 16). The above-mentioned control device is applicable, for example, to realize control of writing to a semiconductor memory such as a flash memory.
第6の態様は、
前記計測手段の計測結果に基づいて前記不揮発性メモリの交換が必要であることを通知する通知手段(例えば14)を更に備える
ことを特徴とする。このような特徴によれば、車両のユーザは不揮発性メモリを適切に交換可能となる。尚、実施形態においては不揮発性メモリを単体で交換することを例示したが、メモリ用ECU等、不揮発性メモリが実装されるユニット全体を交換することとしてもよい。
The sixth aspect is
The apparatus is characterized in that it further includes notification means (for example, 14) for notifying that the nonvolatile memory needs to be replaced based on the measurement result of the measurement means. Such features allow the vehicle user to appropriately replace the non-volatile memory. In the embodiment, the nonvolatile memory is replaced as a single unit, but the entire unit in which the nonvolatile memory is mounted, such as a memory ECU, may be replaced.
第7の態様は車両(例えば1)に係り、前記車両は、
請求項1から請求項6の何れか1項記載の制御装置(例えば17)と、
車輪(例えば11)と、
所定の運転支援を実行する運転支援装置(例えば14)と、を備える
ことを特徴とする。即ち、前述の制御装置は典型的な車両に適用可能である。
A seventh aspect relates to a vehicle (e.g. 1), the vehicle comprising:
A control device (for example, 17) according to any one of
wheels (e.g. 11);
It is characterized by comprising a driving support device (for example, 14) that executes predetermined driving support. That is, the aforementioned control device is applicable to typical vehicles.
第8の態様は、
前記運転態様を検出する検出装置(例えば13)と、
前記検出装置の検出結果を一時的に記憶するための揮発性メモリ(例えば15)と、
不揮発性メモリ(例えば16)と、を更に備え、
前記書込み手段は、前記検出結果が前記基準を満たした場合に、前記揮発性メモリに一時的に記憶されたデータのうち対応の部分を前記不揮発性メモリに書き込む
ことを特徴とする。このような特徴によれば、不揮発性メモリが無用に活用されることなくイベントデータを記憶させることができる。
The eighth aspect is
a detection device (for example, 13) that detects the driving mode;
a volatile memory (for example 15) for temporarily storing detection results of the detection device;
further comprising a non-volatile memory (e.g. 16);
The writing means is characterized in that when the detection result satisfies the criteria, the writing means writes a corresponding portion of the data temporarily stored in the volatile memory into the nonvolatile memory. According to such a feature, event data can be stored without using the nonvolatile memory unnecessarily.
第9の態様は、
前記書込み手段は、更に、前記運転支援の実行に必要な情報を前記不揮発性メモリに書き込む
ことを特徴とする。即ち、前述の制御装置は、運転支援装置を備える典型的な車両に適用可能である。
The ninth aspect is
The writing means further writes information necessary for executing the driving assistance into the nonvolatile memory. That is, the above-described control device is applicable to a typical vehicle equipped with a driving support device.
第10の態様は、
前記運転支援は、加速操作、減速操作および操舵操作の少なくとも1つを含む
ことを特徴とする。このような特徴によれば、加速操作、減速操作および操舵操作の何れの運転支援も適切に実現可能となる。
The tenth aspect is
The driving support includes at least one of an acceleration operation, a deceleration operation, and a steering operation. According to such features, it becomes possible to appropriately realize driving support for any of acceleration operation, deceleration operation, and steering operation.
第11の態様は、
前記運転支援は、運転支援レベルが異なる2以上のモードを含み、
前記書込み手段が前記不揮発性メモリに書き込むデータ量を前記制限手段が制限する場合、前記運転支援装置は、前記運転支援を前記運転支援レベルの低いモードに変更する
ことを特徴とする。このような特徴によれば、不揮発性メモリが無用に活用されることなく比較的低い運転支援レベルの運転支援を利用可能となる。
The eleventh aspect is
The driving assistance includes two or more modes with different driving assistance levels,
When the limiting means limits the amount of data that the writing means writes into the nonvolatile memory, the driving support device changes the driving support to a mode with a lower driving support level. According to such a feature, it becomes possible to use driving assistance at a relatively low driving assistance level without using the nonvolatile memory unnecessarily.
第12の態様は、
前記書込み手段は、前記運転態様に対応するデータを前記不揮発性メモリに書き込むことの指示を前記運転支援装置から受け取った場合に該データを前記不揮発性メモリに書き込む
ことを特徴とする。このような特徴によれば、運転支援の実現に必要なデータを不揮発性メモリに記録可能となる。
The twelfth aspect is
The writing means is characterized in that when receiving an instruction to write data corresponding to the driving mode into the nonvolatile memory from the driving support device, the writing means writes the data into the nonvolatile memory. According to such features, it becomes possible to record data necessary for realizing driving assistance in the nonvolatile memory.
発明は上記の実施形態に制限されるものではなく、発明の要旨の範囲内で、種々の変形・変更が可能である。 The invention is not limited to the above-described embodiments, and various modifications and changes can be made within the scope of the invention.
1:車両、16:不揮発性メモリ、17:制御装置。 1: Vehicle, 16: Non-volatile memory, 17: Control device.
Claims (12)
車両の運転態様が基準を満たした場合に、該運転態様に対応するデータを前記不揮発性メモリに書き込む書込み手段と、
前記書込み手段による書込みの回数を計測する計測手段と、
前記書込み手段が前記不揮発性メモリに書き込むデータ量を前記計測手段の計測結果に基づいて制限する制限手段と、を備える
ことを特徴とする制御装置。 An in-vehicle control device for controlling writing to nonvolatile memory,
writing means for writing data corresponding to the driving manner in the nonvolatile memory when the driving manner of the vehicle satisfies the criteria;
Measuring means for measuring the number of writes by the writing means;
A control device comprising: a limiting device that limits the amount of data that the writing device writes into the nonvolatile memory based on a measurement result of the measuring device.
ことを特徴とする請求項1記載の制御装置。 The control device according to claim 1, wherein the limited data amount increases as the number of writes increases.
ことを特徴とする請求項1又は請求項2記載の制御装置。 3. The control device according to claim 1, wherein the measuring means measures the number of times of writing for each address of the nonvolatile memory.
前記車両の加速の際の加速度の絶対値が基準値より大きくなること、
前記車両の減速の際の加速度の絶対値が基準値より大きくなること、及び、
前記車両に外部から加わったインパクト値が基準値より大きくなること、
の少なくとも1つを含む
ことを特徴とする請求項1から請求項3の何れか1項記載の制御装置。 The driving mode of the vehicle satisfies the criteria,
the absolute value of acceleration when the vehicle accelerates is greater than a reference value;
The absolute value of acceleration when the vehicle is decelerated is greater than a reference value, and
an impact value applied to the vehicle from the outside is greater than a reference value;
The control device according to any one of claims 1 to 3, characterized in that it includes at least one of the following.
ことを特徴とする請求項1から請求項4の何れか1項記載の制御装置。 The control device according to any one of claims 1 to 4, wherein the nonvolatile memory includes a semiconductor memory.
ことを特徴とする請求項1から請求項5の何れか1項記載の制御装置。 The control device according to any one of claims 1 to 5, further comprising a notification unit that notifies that the nonvolatile memory needs to be replaced based on a measurement result of the measurement unit.
車輪と、
所定の運転支援を実行する運転支援装置と、を備える
ことを特徴とする車両。 A control device according to any one of claims 1 to 6,
wheels and
A vehicle comprising: a driving support device that performs predetermined driving support.
前記検出装置の検出結果を一時的に記憶するための揮発性メモリと、
不揮発性メモリと、を更に備え、
前記書込み手段は、前記検出結果が前記基準を満たした場合に、前記揮発性メモリに一時的に記憶されたデータのうち対応の部分を前記不揮発性メモリに書き込む
ことを特徴とする請求項7記載の車両。 a detection device that detects the driving mode;
a volatile memory for temporarily storing detection results of the detection device;
further comprising a non-volatile memory;
8. The writing means writes a corresponding portion of the data temporarily stored in the volatile memory to the non-volatile memory when the detection result satisfies the criteria. vehicle.
ことを特徴とする請求項7または請求項8記載の車両。 The vehicle according to claim 7 or 8, wherein the writing means further writes information necessary for executing the driving assistance into the nonvolatile memory.
ことを特徴とする請求項7から請求項9の何れか1項記載の車両。 The vehicle according to any one of claims 7 to 9, wherein the driving assistance includes at least one of an acceleration operation, a deceleration operation, and a steering operation.
前記書込み手段が前記不揮発性メモリに書き込むデータ量を前記制限手段が制限する場合、前記運転支援装置は、前記運転支援を前記運転支援レベルの低いモードに変更する
ことを特徴とする請求項7から請求項10の何れか1項記載の車両。 The driving assistance includes two or more modes with different driving assistance levels,
From claim 7, wherein when the limiting means limits the amount of data that the writing means writes into the nonvolatile memory, the driving support device changes the driving support to a mode with a lower driving support level. The vehicle according to claim 10.
ことを特徴とする請求項7から請求項11の何れか1項記載の車両。 From claim 7, wherein the writing means writes data corresponding to the driving mode to the nonvolatile memory when receiving an instruction to write the data to the nonvolatile memory from the driving support device. The vehicle according to claim 11.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022045992A JP2023140118A (en) | 2022-03-22 | 2022-03-22 | Control device and vehicle |
CN202310146589.5A CN116788267A (en) | 2022-03-22 | 2023-02-22 | Control device and vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022045992A JP2023140118A (en) | 2022-03-22 | 2022-03-22 | Control device and vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023140118A true JP2023140118A (en) | 2023-10-04 |
Family
ID=88045201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022045992A Pending JP2023140118A (en) | 2022-03-22 | 2022-03-22 | Control device and vehicle |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2023140118A (en) |
CN (1) | CN116788267A (en) |
-
2022
- 2022-03-22 JP JP2022045992A patent/JP2023140118A/en active Pending
-
2023
- 2023-02-22 CN CN202310146589.5A patent/CN116788267A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
CN116788267A (en) | 2023-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2562556B2 (en) | Vehicle recording device having a measured value display suitable for accident evaluation | |
JPWO2007110958A1 (en) | Recording apparatus and recording method | |
JP2002183876A (en) | Vehicle data recording method, device thereof, memory device, and computer program | |
JP2012190398A (en) | Vehicle hazard map generation method | |
WO2013084446A1 (en) | Drive recorder and display device | |
JP2013101426A (en) | On-vehicle communication device | |
JPWO2008105062A1 (en) | Information recording apparatus, information recording method, information recording program, and recording medium | |
JP2013073610A (en) | Information processor and data recording method | |
JP2023140118A (en) | Control device and vehicle | |
JP2022190463A (en) | Acceleration sensor correction device, road gradient detection device, operation record device, acceleration sensor correction program, and structure of correction value data | |
JP2009245052A (en) | On-vehicle recorder | |
US20090076724A1 (en) | Apparatus and program for navigation | |
KR100469574B1 (en) | Route Guidance System | |
WO2014115019A1 (en) | Driving assistance system, driving assistance method and assistance information providing apparatus | |
JP2002170188A (en) | Operation situation recorder of vehicle | |
JP3922348B2 (en) | In-vehicle data storage device | |
JP2011141655A (en) | On-board information accumulation apparatus | |
US20090073175A1 (en) | Display processing apparatus, display processing method and display processing program | |
JP5811109B2 (en) | Driving support system and driving support method | |
JPH0855292A (en) | Shock generation position storage device | |
JP3909185B2 (en) | Automotive electronics | |
JP2008097367A (en) | Onboard electronic apparatus | |
JP2013073609A (en) | Information processor and data recording method | |
JP7491203B2 (en) | Control device, system, vehicle, program, and control device operation method | |
JP2005166072A (en) | Recorder for driving |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220325 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220405 |