JP2018055517A - Vehicle control device - Google Patents

Vehicle control device Download PDF

Info

Publication number
JP2018055517A
JP2018055517A JP2016192527A JP2016192527A JP2018055517A JP 2018055517 A JP2018055517 A JP 2018055517A JP 2016192527 A JP2016192527 A JP 2016192527A JP 2016192527 A JP2016192527 A JP 2016192527A JP 2018055517 A JP2018055517 A JP 2018055517A
Authority
JP
Japan
Prior art keywords
reception
vehicle control
unit
control device
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016192527A
Other languages
Japanese (ja)
Inventor
正智 相澤
Masatomo Aizawa
正智 相澤
小川 洋一
Yoichi Ogawa
洋一 小川
晃良 滝田
Akiyoshi Takita
晃良 滝田
健太 塚原
Kenta Tsukahara
健太 塚原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems 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 Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2016192527A priority Critical patent/JP2018055517A/en
Publication of JP2018055517A publication Critical patent/JP2018055517A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a vehicle control device capable of continuously executing a reception process even when a failure occurs in an arithmetic unit to disable reception of reception data.SOLUTION: The vehicle control device 100 includes a plurality of arithmetic units 110 to 112, a reception device 150, a reception monitoring unit 120, a reception abnormality determination unit 130, and a reception process reassignment unit 140. The reception device receives from the control device 200 reception data to which an identifier is assigned. The arithmetic units are assigned to read one of the reception data, and reads the reception data received by the reception device according to the assigned identifier, and performs various control computations. The reception monitoring unit monitors information on processing of the reception data in the reception device. The reception abnormality determination unit determines whether each reception process is abnormal based on the monitoring information of each reception data monitored by the reception monitoring unit. The reception process reassignment unit reassigns the reception process determined to be abnormal by the reception abnormality determination unit to one of the arithmetic units.SELECTED DRAWING: Figure 1

Description

本発明は、車両制御装置に関する   The present invention relates to a vehicle control device.

車両制御装置においては、演算装置を用い、例えば空燃比制御、燃料噴射制御、点火制御、各種診断など、様々な車両制御を行うことが広く知られている。その際、車両全体の統合的な制御を行うために、自車両制御装置以外からの情報を元に、制御処理を行う場合がある。その場合、Controller Area Network(以下CANと表記)に代表されるような通信規格を用い、情報の受送信を行う。   In a vehicle control device, it is widely known to use an arithmetic device to perform various vehicle controls such as air-fuel ratio control, fuel injection control, ignition control, and various diagnoses. At that time, in order to perform integrated control of the entire vehicle, control processing may be performed based on information from other than the own vehicle control device. In this case, information is transmitted / received using a communication standard represented by Controller Area Network (hereinafter referred to as CAN).

車両制御装置におけるCAN通信の受送信処理には、定期的に行われるものと、割込み処理を用いることで、任意のタイミングで受送信を行う方法がある。ここで、割込み処理を用い受送信を行う場合において、例えばエンジンの回転数や車両速度のように、車両の状態に応じて増加減する情報を元に受送信させる場合がある。この場合、車両の状態により受送信の回数が増加減するため、受送信の割込み発生が多く発生した場合、より優先度の低い処理が実施できず、本来行われるべき処理が実施されない恐れがある。   The CAN communication reception / transmission processing in the vehicle control device includes a method of performing transmission and reception at an arbitrary timing by using a periodic processing and an interrupt processing. Here, when transmission / reception is performed using interrupt processing, transmission / reception may be performed based on information that increases or decreases according to the state of the vehicle, such as the number of revolutions of the engine or the vehicle speed. In this case, since the number of times of transmission / reception increases / decreases depending on the state of the vehicle, when a large number of reception / transmission interruptions occur, lower priority processing cannot be performed, and processing that should be performed may not be performed. .

上記のような処理未実施の発生を抑制させるために、複数の演算装置を車両制御装置に備え、各演算装置に対し演算処理を配置させることで、単体の演算装置の場合と比べ、各演算装置が実施すべき処理数を減らし、処理が実施されない状態の発生を抑制する方法が考えられる。   In order to suppress the occurrence of non-execution of processing as described above, a plurality of arithmetic devices are provided in the vehicle control device, and arithmetic processing is arranged for each arithmetic device, so that each arithmetic operation is compared with a single arithmetic device. A method is conceivable in which the number of processes to be performed by the apparatus is reduced and occurrence of a state in which the process is not performed is suppressed.

特開2010−277171号公報JP 2010-277171 A

上記特許文献1では、必要な演算装置利用率の大きいタスクが生じた際も、そのタスクが実施できる可能性を確保して、従来よりもリアルタイム性を向上させる技術について記載している。同文献においては、リアルタイムタスクの発生元のプログラムの必要計算量を計測し、タスクに課せられた時間制約と、そのタスクの発生元プログラムの必要計算量から、タスクが時間制約を満たすために必要な必要演算装置利用率を計算し、タスクを割り当てた際の演算装置利用率が最大となるよう演算装置を選択する。   Patent Document 1 describes a technique for ensuring the possibility that a task can be executed even when a task with a high utilization rate of necessary arithmetic devices occurs and improving the real-time property as compared with the prior art. In this document, it is necessary for the task to satisfy the time constraint based on the time constraint imposed on the task and the required computation amount of the task source program. The necessary computing device usage rate is calculated, and the computing device is selected so that the computing device usage rate when the task is assigned is maximized.

上記特許文献1に記載の技術においては、演算装置が故障した場合を考慮していない。
そのため、演算装置の故障が発生した場合、演算処理ができない演算装置に対してもタスクが割り当てられ、割り当てられたタスク処理が未実施となり続ける可能性がある。
In the technique described in Patent Document 1, the case where the arithmetic device fails is not taken into consideration.
Therefore, when a failure occurs in the arithmetic device, there is a possibility that a task is assigned even to an arithmetic device that cannot perform arithmetic processing, and the assigned task processing continues to be unexecuted.

本発明は、上記のような課題に鑑みてなされたものであり、演算装置に故障が発生し受信データの受信処理が出来ない状況になったとしても、受信処理の異常を検知し、他の演算装置へ受信処理を再割り当てすることにより、受信データの受信処理を継続して実施することができる車両制御装置を提供することを目的とする。   The present invention has been made in view of the problems as described above, and even when a failure occurs in the arithmetic device and reception of received data cannot be performed, an abnormality in reception processing is detected. It is an object of the present invention to provide a vehicle control device that can continuously execute reception processing of received data by reassigning reception processing to an arithmetic device.

以下の実施例において、詳細に説明するが、本発明の車両制御装置は他の制御装置からの受信データを複数の演算装置を用いて受信する。そして車両制御装置は、何れの受信データを何れの演算装置を用いて受信するかを割り当てる受信処理割り当て部と、前記割り当て部によって割り当てられた受信データの受信処理を実施する際に受信データが演算装置により正しく受信処理されたか否かを監視する受信監視部と、前期受信監視部によって得られた結果を元に受信処理の異常を判定する受信異常判定部と、前記受信異常判定部によって得られた結果が異常の場合に前記受信処理を再割り当てする受信処理再割り当て部、を備える。   In the following embodiments, which will be described in detail, the vehicle control device of the present invention receives received data from other control devices using a plurality of arithmetic devices. The vehicle control device calculates a reception process assignment unit that assigns which reception data is received using which calculation device, and the reception data is calculated when the reception process of the reception data assigned by the assignment unit is performed. Obtained by a reception monitoring unit that monitors whether or not reception processing has been correctly performed by the device, a reception abnormality determination unit that determines abnormality in reception processing based on a result obtained by the previous period reception monitoring unit, and the reception abnormality determination unit A receiving process reassigning unit that reassigns the receiving process when the result is abnormal.

また前記受信監視部は、受信データを正しく受信した回数もしくは受信データを正しく受信しなかった回数を、各受信データに付与された識別子毎に記憶することが望ましい。また前記受信監視部は、受信データの受信処理毎に処理されることが望ましい。また前記受信監視部は、任意の間隔で定周期処理される。また前記受信異常判定部は、前記受信監視部によって得られた回数が所定の閾値に達した場合に異常と判定することが望ましい。   The reception monitoring unit preferably stores the number of times reception data has been correctly received or the number of times reception data has not been correctly received for each identifier assigned to each reception data. The reception monitoring unit is preferably processed every time reception data is received. The reception monitoring unit is periodically processed at an arbitrary interval. The reception abnormality determination unit may determine that an abnormality has occurred when the number of times obtained by the reception monitoring unit reaches a predetermined threshold.

また前記受信異常判定部は、各受信データに付与された識別子毎に、閾値に対する異なった重み係数を有することが望ましい。また前記受信異常判定部は、受信処理のうち、処理優先度が高く、かつ前記監視部によって得られた回数が多いものほど優先的に受信異常判定処理を実施することが望ましい。また前記受信処理再割り当て部は、異常と判定された受信処理を、演算装置に割り振られた受信処理のうち最も優先度が低くかつ受信処理が異常と判断された回数が少ない受信処理を実施した演算装置に再割り当てすることが望ましい。   The reception abnormality determination unit preferably has a different weighting factor for the threshold value for each identifier assigned to each reception data. In addition, it is desirable that the reception abnormality determination unit preferentially performs the reception abnormality determination process as the reception process has a higher processing priority and the number of times obtained by the monitoring unit is larger. In addition, the reception process reassignment unit performs the reception process determined to be abnormal, the reception process having the lowest priority among the reception processes allocated to the arithmetic device and the number of times the reception process is determined to be abnormal. It is desirable to reassign to the computing device.

また前記受信処理再割り当て部は、割り当てられた受信処理が異常と判定された回数を演算装置に割り当てられた識別子毎に記憶し、異常と判定された回数が所定の閾値に達した演算装置を除いて再割り当てすることが望ましい。また前記受信処理再割り当て部は、受信データ処理と演算装置に事前に割り当てられた処理種別に基づき、処理を再割り当てする演算装置を限定することが望ましい。   The reception process reassignment unit stores the number of times the assigned reception process is determined to be abnormal for each identifier assigned to the arithmetic device, and the arithmetic device in which the number of times determined to be abnormal reaches a predetermined threshold. It is desirable to remove and reassign. Further, the reception process reassignment unit desirably limits the arithmetic device to which the process is reassigned based on the received data processing and the processing type assigned in advance to the arithmetic device.

本発明に係る車両制御装置によれば、複数の演算装置のうち一部が故障した場合においても、継続して情報の受信処理を実施することができる。   According to the vehicle control device of the present invention, information reception processing can be continuously performed even when some of the plurality of arithmetic devices fail.

実施例1に係る車両制御装置のシステム構成図である。1 is a system configuration diagram of a vehicle control device according to a first embodiment. 受信装置の詳細構成を示す図である。It is a figure which shows the detailed structure of a receiver. 受信監視部の詳細構成を示す図である。It is a figure which shows the detailed structure of a reception monitoring part. 受信監視部を説明するフローチャートである。It is a flowchart explaining a reception monitoring part. 受信異常判定部を説明するフローチャートである。It is a flowchart explaining a reception abnormality determination part. 受信処理再割り当て部を説明するフローチャートである。It is a flowchart explaining a reception process reallocation part. 実施例2において、受信処理再割り当て部の詳細構成を示す図である。In Example 2, it is a figure which shows the detailed structure of a reception process reallocation part. 受信例2において、故障状態が発生していない演算装置に対してのみ再割り当て処理を説明するためのフローチャートである。12 is a flowchart for explaining a reallocation process only for an arithmetic device in which a failure state has not occurred in Reception Example 2. 実施例3において、受信監視部の詳細構成を示す図である。In Example 3, it is a figure which shows the detailed structure of a reception monitoring part. 実施例3において、受信処理再割り当て部の詳細を示す図である。In Example 3, it is a figure which shows the detail of a reception process reallocation part. 実施例3において、受信処理に割り当てられたグループを処理可能な演算装置に対しての再割り当て処理を説明するためのフローチャートである。FIG. 10 is a flowchart for explaining reallocation processing for an arithmetic device capable of processing a group allocated to reception processing in the third embodiment.

以下、本発明の実施例について、図面を用いて説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の実施例1に係る車両制御装置のシステム構成図である。車両制御装置100は、制御装置200からデータを受信する機器であり、複数の演算装置(ここでは110〜112)と受信装置150と受信監視部120と受信異常判定部130と受信処理再割り当て部140を備える。外部機器200は、例えば車両制御装置100を搭載している車両が備えるモータ制御コントローラなどの機器である。受信装置150は、外部機器200との間の受信データを受信する。複数の演算装置110〜112は、受信データに付与された識別子に応じて何れかの演算装置が何れかの受信データを読み取るかが割り当てられており、割り当てられた識別子に応じて受信装置150が受信したデータを読み取り、車両制御装置100に対する各種制御演算を実施する。受信監視部120は、受信装置150の受信データ処理情報を監視する。受信異常判定部130は、受信監視部120により監視された各受信データの監視情報を元に、各受信処理が異常か否かを判定する。受信処理再割り当て部140は、受信異常判定部130により異常と判定された受信処理を、複数の演算装置110〜112の何れかに再割り当てする。   FIG. 1 is a system configuration diagram of the vehicle control device according to the first embodiment of the present invention. The vehicle control device 100 is a device that receives data from the control device 200, and includes a plurality of arithmetic devices (here, 110 to 112), a reception device 150, a reception monitoring unit 120, a reception abnormality determination unit 130, and a reception process reassignment unit. 140. The external device 200 is a device such as a motor control controller provided in a vehicle on which the vehicle control device 100 is mounted, for example. The receiving device 150 receives data received from the external device 200. Each of the arithmetic devices 110 to 112 is assigned to which one of the arithmetic devices reads any of the received data according to the identifier assigned to the received data, and the receiving device 150 is assigned according to the assigned identifier. The received data is read and various control calculations are performed on the vehicle control device 100. The reception monitoring unit 120 monitors reception data processing information of the reception device 150. The reception abnormality determination unit 130 determines whether each reception process is abnormal based on the monitoring information of each reception data monitored by the reception monitoring unit 120. The reception process reassignment unit 140 reassigns the reception process determined to be abnormal by the reception abnormality determination unit 130 to any one of the plurality of arithmetic devices 110 to 112.

図2は、受信装置150の詳細構成を示す図である。受信装置150は、受信データに付与された識別子(以下受信データ識別子)1501と、受信データ識別子1501毎の受信データバッファ1502と、受信データ読み取り状態1503と、受信データの重み係数1504の記憶部を備える。受信データバッファ1502と受信データ読み取り状態1503と重み係数1504は制御装置200からのデータ受信時に更新される。ここで、受信データの読み取り状態1503とは、複数の演算装置110〜112が、受信データバッファ1502の情報を読み取る前に、受信データが上書きされたか否かを表すフラグなどが考えられ、本実施例では上書きされた状態を異常として1で表し、上書きされていない状態を正常として0で表している。   FIG. 2 is a diagram illustrating a detailed configuration of the receiving device 150. The receiving apparatus 150 includes an identifier (hereinafter referred to as a received data identifier) 1501 given to received data, a received data buffer 1502 for each received data identifier 1501, a received data reading state 1503, and a storage unit for received data weighting factors 1504. Prepare. The reception data buffer 1502, the reception data reading state 1503, and the weighting factor 1504 are updated when data is received from the control device 200. Here, the received data reading state 1503 may be a flag indicating whether or not the received data is overwritten before the plurality of arithmetic devices 110 to 112 read the information in the received data buffer 1502. In the example, the overwritten state is represented by 1 as abnormal, and the non-overwritten state is represented by 0 as normal.

図3は、受信監視部120の詳細構成を示す図である。受信監視部120は、受信装置150から受信した受信データ識別子1501と、受信データ読み取り状態1503の状態をカウントした受信状態カウンタ1201と、各受信データ識別子1501の受信データ読み取り処理が割り当てられた演算装置110〜112の識別子1202と、受信データ識別子1501毎に予め設定された外部機器200からの受信処理周期1202と、受信データ識別子毎の重み係数1203を格納する記憶部を備える。受信監視部120は制御装置200からのデータ受信タイミングを基に起動され、受信監視部120から、受信状態カウンタ1201と受信データ識別子1501の情報を取得し、識別子毎に受信処理が異常か否かを判定する。   FIG. 3 is a diagram illustrating a detailed configuration of the reception monitoring unit 120. The reception monitoring unit 120 includes a reception data identifier 1501 received from the reception device 150, a reception state counter 1201 that counts the state of the reception data reading state 1503, and an arithmetic device to which reception data reading processing for each reception data identifier 1501 is assigned. A storage unit is provided for storing identifiers 1202 of 110 to 112, a reception processing period 1202 from the external device 200 preset for each reception data identifier 1501, and a weight coefficient 1203 for each reception data identifier. The reception monitoring unit 120 is activated based on the timing of data reception from the control device 200, acquires information on the reception state counter 1201 and the reception data identifier 1501 from the reception monitoring unit 120, and whether or not the reception processing is abnormal for each identifier. Determine.

図4は受信監視部120の処理を説明するフローチャートである。
以下図4の各ステップについて説明する。
(図4:ステップS410〜S460)
受信監視部120は、外部機器200からのデータ受信毎、あるいはタイマ等に設定された任意の定周期間隔で起動する。受信監視処理を開始すると、受信装置から受信状態として受信データ識別子1501、受信データ読み取り状態1503を読み取る(S410)。そして受信データ識別子1501毎に、受信データの読み取り状態が正常か否かを判定し(S420)、異常でなければ受信状態カウンタ1201を減算する(S430)。異常であればさらに受信状態カウンタの値が閾値1未満かどうかを判定し(S440)、もし閾値1未満であれば受信状態カウンタ1201の値を閾値1で更新する(S450)。その後受信状態カウンタ1201を加算する(S460)。
FIG. 4 is a flowchart for explaining the processing of the reception monitoring unit 120.
Hereinafter, each step of FIG. 4 will be described.
(FIG. 4: Steps S410 to S460)
The reception monitoring unit 120 is activated every time data is received from the external device 200 or at an arbitrary fixed period set in a timer or the like. When the reception monitoring process is started, the reception data identifier 1501 and the reception data reading state 1503 are read from the reception device as the reception state (S410). Then, for each reception data identifier 1501, it is determined whether or not the reading state of the reception data is normal (S420), and if not abnormal, the reception state counter 1201 is subtracted (S430). If it is abnormal, it is further determined whether or not the value of the reception state counter is less than the threshold value 1 (S440). If it is less than the threshold value 1, the value of the reception state counter 1201 is updated with the threshold value 1 (S450). Thereafter, the reception state counter 1201 is added (S460).

このように受信データの読み取り状態が正常か否かを受信データ識別子1501毎に判定することにより、制御装置200から受信した受信データを読み取る前に、本来受信処理を行うよう割り当てられた演算装置110〜112のうち何れかが、故障や継続的な高負荷等により正常な受信処理を実施できず、受信処理が滞っている状態を検知することができる。また、受信データ読み取り処理が異常でない場合をカウントすることにより、演算装置の処理負荷が低い状態が継続する可能性がある演算装置を判断することができる。これは、エンジンの回転数や車速などは、急加速、急制動を避けるために緩やかな変動となる場合が多く、エンジンの回転数や車速に基づくような受信割り込みが発生する車両システムの場合、もしエンジンの回転数や車速が低い状態であれば、ある一定期間連続してエンジンの回転数や車速に基づいた受信データの読み取り処理の負荷が低い状態が継続する可能性があるためである。さらに、受信監視処理を外部機器200からのデータ受信毎に処理することにより、割り込み等により発生する不定期な受信処理に対しても、逐次異常監視処理を実施できる。あるいは、タイマ等による任意の定周期間隔で起動することによって、受信処理が頻発する通信状態の場合に、異常監視処理による演算装置の処理負荷を抑制しつつ、異常監視処理を実施できる。   Thus, by determining whether or not the reception data reading state is normal for each reception data identifier 1501, the arithmetic device 110 originally assigned to perform reception processing before reading the reception data received from the control device 200. Any one of -112 cannot detect normal reception processing due to failure, continuous high load, or the like, and can detect a state in which reception processing is delayed. In addition, by counting the cases where the received data reading process is not abnormal, it is possible to determine an arithmetic device that is likely to continue a low processing load on the arithmetic device. This is because the engine speed and vehicle speed often fluctuate slowly to avoid sudden acceleration and braking, and in the case of a vehicle system that receives a reception interrupt based on the engine speed or vehicle speed, This is because if the engine speed and the vehicle speed are low, there is a possibility that the load of the received data reading process based on the engine speed and the vehicle speed continues for a certain period of time. Further, by performing the reception monitoring process every time data is received from the external device 200, it is possible to sequentially perform the abnormality monitoring process even for irregular reception processes that occur due to an interrupt or the like. Alternatively, the abnormality monitoring process can be performed while suppressing the processing load of the arithmetic unit due to the abnormality monitoring process in a communication state in which the reception process occurs frequently by starting at an arbitrary periodic interval by a timer or the like.

図5は、受信異常判定部130の処理を説明するフローチャートである。
以下、図5の各ステップについて説明する。
(図5:ステップS510〜S530、S600)
受信異常判定部130は、受信監視部120より受信データ識別子1501と受信状態カウンタ1201の値と重み係数1203を読み取る(S510)。そして最も処理優先度の高く、かつ受信状態カウンタ数と重み係数1203の演算結果が大きい受信データ識別子を選択する(S520)。その後閾値2と、ステップS520で演算された受信データ識別子の受信状態カウンタ1201と重み係数1203演算結果を比較し(S530)、演算結果の値の方が大きければ、対象の識別子の受信処理を異常と判定し、受信処理再割り当て処理を実施する(S600)。受信処理再割り当て処理の詳細は後述する。
FIG. 5 is a flowchart for explaining the processing of the reception abnormality determination unit 130.
Hereinafter, each step of FIG. 5 will be described.
(FIG. 5: Steps S510 to S530, S600)
The reception abnormality determination unit 130 reads the reception data identifier 1501, the value of the reception state counter 1201, and the weighting factor 1203 from the reception monitoring unit 120 (S510). A reception data identifier having the highest processing priority and a large calculation result of the reception state counter number and the weight coefficient 1203 is selected (S520). After that, the threshold 2 is compared with the reception status counter 1201 of the reception data identifier calculated in step S520 and the calculation result of the weighting coefficient 1203 (S530). And the reception process reallocation process is performed (S600). Details of the reception process reallocation process will be described later.

このように、異常の判定に閾値を設けることにより、一回あたりの受信異常が制御にあまり影響を与えないような受信データの場合において、閾値2以下の受信処理異常による受信処理再割り当てを実施しないことにより、処理増加を抑制することができる。さらに、閾値2との比較に重み係数1203を含めることにより、例えば受信周期が長く、一回あたりの受信異常が制御に影響を与えやすい受信データの場合において、次回以降に優先的に受信処理再割り当て処理が実施可能となる。加えて、車両制御装置100においてより処理優先度の高い受信データ識別子の受信データ読み取り処理を優先的に再割り当てすることが可能となり、制御上重要な受信データが未読み取りとなることを抑制することができる。   In this way, by setting a threshold for abnormality determination, in the case of received data where the reception abnormality per one time does not affect the control so much, reception processing reassignment due to reception processing abnormality below threshold 2 is performed. By not doing, processing increase can be suppressed. Further, by including the weighting factor 1203 in the comparison with the threshold 2, for example, in the case of reception data that has a long reception cycle and reception abnormality per one time that tends to affect the control, the reception process is preferentially restarted after the next time. Allocation processing can be performed. In addition, it is possible to preferentially reassign the received data reading process of the received data identifier having a higher processing priority in the vehicle control device 100, and to prevent the received data important for control from being unread. Can do.

(図5:ステップS540)
受信異常判定部130は、受信監視部120に格納された受信データ識別子1501全てについて受信異常判定が完了したか否かを確認する。完了していない場合はステップS520に戻って同様の処理を繰り返す。完了している場合は本フローチャートを終了する。
(FIG. 5: Step S540)
The reception abnormality determination unit 130 confirms whether the reception abnormality determination has been completed for all reception data identifiers 1501 stored in the reception monitoring unit 120. If not completed, the process returns to step S520 and the same processing is repeated. If completed, this flowchart is terminated.

図6は、受信処理再割り当て部140の処理を説明するフローチャートである。
以下、図6の各ステップについて説明する。
(図6:ステップS610)
受信処理再割り当て部140は、受信異常判定部130から、受信処理が異常と判定された受信データ識別子1501と、受信状態カウンタ1201と、受信データ読み取り処理実施演算装置識別子1202を読み取り、最も優先度が低く、かつ異常と判定された受信データ読み取り処理が割り当てられた演算装置以外で最もカウンタの値の少ない識別子の受信処理が割り当てられている演算装置に、対象の受信データ識別子1501の受信処理を再割り当てする(S610)。
FIG. 6 is a flowchart for explaining the process of the reception process reallocation unit 140.
Hereinafter, each step of FIG. 6 will be described.
(FIG. 6: Step S610)
The reception process reassignment unit 140 reads the reception data identifier 1501, the reception state counter 1201, and the reception data reading process execution arithmetic device identifier 1202 that have been determined that the reception process is abnormal from the reception abnormality determination unit 130, and has the highest priority. The processing of receiving the target received data identifier 1501 is applied to the arithmetic device to which the reception processing of the identifier having the smallest counter value is assigned other than the arithmetic device to which the received data reading processing determined to be abnormal is low. Reassign (S610).

これにより、故障等が発生した演算装置110〜112のうち何れかに割り当てられた受信データ処理を、受信データ読み取り処理による処理負荷が低い他の演算装置に再割り当てすることが可能となる。また、CAN等の通信プロトコルにおいては、受信データ識別子1501は受信データ処理間の処理優先度の意味も併せ持っている。そのため、一つの演算装置内に複数の受信データ読み取り処理が割り当てられている場合は、最も処理優先度の低い識別子の受信状態を読み取ることにより、演算装置に割り当てられた受信データ読み取り処理全体の負荷が低い演算装置を判断することができる。   As a result, the received data processing assigned to any of the arithmetic devices 110 to 112 in which a failure or the like has occurred can be reassigned to another arithmetic device with a low processing load due to the received data reading processing. In communication protocols such as CAN, the received data identifier 1501 also has a meaning of processing priority between received data processes. Therefore, when a plurality of received data reading processes are assigned in one arithmetic device, the load of the entire received data reading process assigned to the arithmetic device is read by reading the reception status of the identifier having the lowest processing priority. Can be determined.

本発明の実施例2では、実施例1で説明した受信処理再割り当て部140と受信処理再割り当て処理(S600)の第2具体例について説明する。その他の構成は概ね実施例1と同様であるため、以下では主に受信処理再割り当て部140の詳細構成とステップS600の具体例について述べる。   In the second embodiment of the present invention, a second specific example of the reception process reallocation unit 140 and the reception process reallocation process (S600) described in the first embodiment will be described. Since the other configuration is substantially the same as that of the first embodiment, the detailed configuration of the reception processing reallocation unit 140 and the specific example of step S600 will be mainly described below.

図7は、本実施例2において、受信処理再割り当て部140の詳細構成を示す図である。受信処理再割り当て部140は、演算装置に割り当てられた識別子(以下、演算装置識別子)1401と、各演算装置識別子1401に発生した受信処理が異常と判定された回数の累積値(以下、異常発生累積回数)1402と、各演算装置識別子の故障状態判定結果(以下、故障状態)1403を格納する記憶部を備える。ここで演算装置識別子1401は、図3の受信データ読み取り処理実施演算装置識別子1202を重複無く並べたものと同じである。受信処理再割り当て部140は、受信異常判定部130から読み取った受信処理の異常判定結果から異常発生回数累積値1402を更新し、異常発生累積回数1402を元に故障状態1403を判定する。   FIG. 7 is a diagram illustrating a detailed configuration of the reception process reallocation unit 140 in the second embodiment. The reception processing reassignment unit 140 includes an identifier (hereinafter referred to as “arithmetic device identifier”) 1401 assigned to the arithmetic device and a cumulative value of the number of times that the reception processing generated in each arithmetic device identifier 1401 is determined to be abnormal (hereinafter referred to as abnormal occurrence). And a storage unit for storing a failure state determination result (hereinafter, failure state) 1403 of each arithmetic device identifier. Here, the arithmetic device identifier 1401 is the same as the received data reading processing execution arithmetic device identifier 1202 of FIG. The reception process reassigning unit 140 updates the abnormality occurrence count cumulative value 1402 from the reception process abnormality determination result read from the reception abnormality determination unit 130, and determines the failure state 1403 based on the abnormality occurrence cumulative count 1402.

(図8:ステップS600、S611)
受信処理再割り当て部140は受信処理再割り当て処理(S600)を開始すると、受信異常判定部130から受信処理が異常と判断された受信データ識別子1501を読み取り、受信監視部120に格納された受信データ識別子1501と、受信データ読み取り処理実施演算装置識別子1202から、受信データ読み取り処理が実施された演算装置識別子1401を得たのち、該当する異常発生累積回数1402の情報を更新する(S611)。
(FIG. 8: Steps S600 and S611)
When the reception process reassignment unit 140 starts the reception process reassignment process (S600), it reads the reception data identifier 1501 in which the reception process is determined to be abnormal from the reception abnormality determination unit 130, and the reception data stored in the reception monitoring unit 120 After obtaining the arithmetic device identifier 1401 subjected to the received data reading process from the identifier 1501 and the received data reading processing execution arithmetic device identifier 1202, the information of the corresponding abnormality occurrence cumulative number 1402 is updated (S611).

(図8:ステップS621〜S641)
受信処理再割り当て部140は、異常発生累積回数1402の値が、所定の閾値3に達したか否かを判定し(S621)、閾値3に達していれば、該当の演算装置の故障状態1403を更新する(S631)。その後、故障状態1403が異常な演算装置を除き、受信状態カウンタ1201が最も少ない識別子の受信処理が割り当てられている演算子に該当の識別子の受信処理を再割り当てする。これにより、受信処理で異常が頻出する演算装置を検出することができるため、再割り当て先の演算装置での受信データ未読み取りを抑制することができる。また、閾値3を故障判定値とすれば、故障が発生した演算装置を特定することが可能となる。
(FIG. 8: Steps S621 to S641)
The reception process reallocation unit 140 determines whether or not the value of the cumulative number of occurrences of abnormality 1402 has reached a predetermined threshold 3 (S621). If the value has reached the threshold 3, the failure state 1403 of the corresponding arithmetic device. Is updated (S631). Thereafter, except for the arithmetic device having an abnormal failure state 1403, the reception process of the corresponding identifier is reassigned to the operator to which the reception process of the identifier having the smallest reception state counter 1201 is assigned. As a result, it is possible to detect an arithmetic device in which abnormalities frequently appear in the reception process, and thus it is possible to suppress unread reception data in the reallocation destination arithmetic device. Further, if the threshold value 3 is a failure determination value, it is possible to specify the arithmetic device in which the failure has occurred.

本発明の実施例3では、実施例1で説明した受信監視部120と、処理再割り当て部140と受信処理再割り当て処理(S600)の第3具体例について説明する。その他の構成は概ね実施例1と同様であるため、以下では主に受信監視部120と受信処理再割り当て部140の詳細構成とステップS600の具体例について述べる。   In the third embodiment of the present invention, a third specific example of the reception monitoring unit 120, the processing reallocation unit 140, and the reception processing reallocation processing (S600) described in the first embodiment will be described. Since other configurations are generally the same as those in the first embodiment, the detailed configuration of the reception monitoring unit 120 and the reception process reallocation unit 140 and a specific example of step S600 will be mainly described below.

図9は、本実施例3において、受信監視部120の詳細構成を示す図である。受信監視部120は、実施例1の受信監視部に格納された情報に加え、各受信データ識別子1501の処理種別を表す処理グループ1205が格納されている。   FIG. 9 is a diagram illustrating a detailed configuration of the reception monitoring unit 120 in the third embodiment. The reception monitoring unit 120 stores a processing group 1205 representing the processing type of each reception data identifier 1501 in addition to the information stored in the reception monitoring unit of the first embodiment.

図10は、本実施例3において、受信処理再割り当て部140の詳細構成を示す図である。受信処理再割り当て部140は、実施例1の受信処理再割り当て部に格納された情報に加え、演算装置識別子1401が処理可能な処理種別を表す割り当て可能処理グループ1404が格納されている。   FIG. 10 is a diagram illustrating a detailed configuration of the reception process reallocation unit 140 in the third embodiment. In addition to the information stored in the reception process reallocation unit of the first embodiment, the reception process reallocation unit 140 stores an allocatable process group 1404 that represents a process type that can be processed by the arithmetic device identifier 1401.

(図11:ステップS612)
受信処理再割り当て部140は、受信処理再割り当て処理(S600)を開始すると、受信異常判定部130から、受信処理が異常と判定された受信データ識別子1501と、受信状態カウンタ1201と、受信データ読み取り処理実施演算装置識別子1202を読み取る。あわせて、受信処理再割り当て部140から、受信処理が異常と判定された受信データ識別子1501の処理グループ1205を読み取る。そして、受信処理再割り当て部に格納された割り当て可能グループ1404のうち、受信処理が異常と判定された受信データ識別子1501の処理グループが処理可能な演算識別子1401を抽出し、その中で最も優先度が低く、最もカウンタの値の少ない識別子の受信処理が割り当てられている演算装置に、対象の受信データ識別子1501の受信処理を再割り当てする(S612)。これにより、例えば機能安全ISO26262等の適用により、各受信データ読み取り処理を実施可能な演算装置に制約がある場合においても、演算装置と受信処理の処理種別を適合するよう選択することで、制約を満足した処理の再割り当てが可能となる。
(FIG. 11: Step S612)
When the reception process reassignment unit 140 starts the reception process reassignment process (S600), the reception abnormality determination unit 130 determines that the reception process identifier is abnormal, the reception data identifier 1501, the reception state counter 1201, and the reception data reading. The processing execution arithmetic unit identifier 1202 is read. In addition, the processing group 1205 of the reception data identifier 1501 in which the reception processing is determined to be abnormal is read from the reception processing reassignment unit 140. Then, out of the assignable groups 1404 stored in the reception processing reassignment unit, the operation identifier 1401 that can be processed by the processing group of the reception data identifier 1501 in which the reception processing is determined to be abnormal is extracted, and the highest priority among them is extracted. The receiving process of the target received data identifier 1501 is reassigned to the arithmetic unit to which the receiving process of the identifier with the lowest counter value and the smallest counter value is assigned (S612). As a result, even when there is a restriction on the arithmetic device capable of performing each received data reading process due to the application of functional safety ISO 26262 or the like, the restriction can be made by selecting the arithmetic device and the processing type of the reception process to be compatible. Re-assignment of satisfied processing is possible.

100:車両制御装置、110:演算装置1、111:演算装置2、112:演算装置 n、120:受信監視部、130:受信異常判定部、140:受信処理再割り当て部、150:受信装置、200:制御装置。 DESCRIPTION OF SYMBOLS 100: Vehicle control apparatus, 110: Arithmetic apparatus 1, 111: Arithmetic apparatus 2, 112: Arithmetic apparatus n, 120: Reception monitoring part, 130: Reception abnormality determination part, 140: Reception process reallocation part, 150: Reception apparatus, 200: Control device.

Claims (10)

他の制御装置からの受信データを複数の演算装置を用いて受信する車両制御装置であって、
前記車両制御装置は、
何れの受信データを何れの演算装置を用いて受信するかを割り当てる受信処理割り当て部と、
前記割り当て部によって割り当てられた受信データの受信処理を実施する際に受信データが演算装置により正しく受信処理されたか否かを監視する受信監視部と、
前期受信監視部によって得られた結果を元に受信処理の異常を判定する受信異常判定部と、
前記受信異常判定部によって得られた結果が異常の場合に前記受信処理を再割り当てする受信処理再割り当て部、を備えることを特徴とする車両制御装置。
A vehicle control device that receives received data from other control devices using a plurality of arithmetic devices,
The vehicle control device includes:
A reception processing assigning unit that assigns which received data is received using which computing device;
A reception monitoring unit that monitors whether or not the reception data has been correctly received and processed by the arithmetic device when performing the reception process of the reception data allocated by the allocation unit;
A reception abnormality determination unit that determines an abnormality in reception processing based on a result obtained by the previous period reception monitoring unit;
A vehicle control device comprising: a reception process reassignment unit that reassigns the reception process when the result obtained by the reception abnormality determination unit is abnormal.
前記受信監視部は、受信データを正しく受信した回数もしくは受信データを正しく受信しなかった回数を、各受信データに付与された識別子毎に記憶することを特徴とする請求項1に記載の車両制御装置。   2. The vehicle control according to claim 1, wherein the reception monitoring unit stores the number of times reception data is correctly received or the number of times reception data is not correctly received for each identifier assigned to each reception data. apparatus. 前記受信監視部は、受信データの受信処理毎に処理されることを特徴とする請求項1に記載の車両制御装置。   The vehicle control apparatus according to claim 1, wherein the reception monitoring unit is processed for each reception process of reception data. 前記受信監視部は、任意の間隔で定周期処理されることを特徴とする請求項1に記載の車両制御装置。   The vehicle control device according to claim 1, wherein the reception monitoring unit is subjected to a periodic process at an arbitrary interval. 前記受信異常判定部は、前記受信監視部によって得られた回数が所定の閾値に達した場合に異常と判定することを特徴とする請求項2に記載の車両制御装置。   The vehicle control device according to claim 2, wherein the reception abnormality determination unit determines that there is an abnormality when the number of times obtained by the reception monitoring unit reaches a predetermined threshold. 前記受信異常判定部は、各受信データに付与された識別子毎に、閾値に対する異なった重み係数を有することを特徴とする請求項5に記載の車両制御装置。   The vehicle control device according to claim 5, wherein the reception abnormality determination unit has a different weighting factor for the threshold value for each identifier assigned to each reception data. 前記受信異常判定部は、受信処理のうち、処理優先度が高く、かつ前記監視部によって得られた回数が多いものほど優先的に受信異常判定処理を実施することを特徴とする請求項1に記載の車両制御装置。   The reception abnormality determination unit preferentially performs the reception abnormality determination process as the reception process has a higher processing priority and the number of times obtained by the monitoring unit is higher. The vehicle control device described. 前記受信処理再割り当て部は、異常と判定された受信処理を、演算装置に割り振られた受信処理のうち最も優先度が低くかつ受信処理が異常と判断された回数が少ない受信処理を実施した演算装置に再割り当てすることを特徴とした請求項7に記載の車両制御装置。   The reception process reassignment unit performs an operation for performing a reception process that has been determined to be abnormal, the reception process having the lowest priority among the reception processes allocated to the arithmetic device and the number of times that the reception process is determined to be abnormal. The vehicle control device according to claim 7, wherein the vehicle control device is reassigned to the device. 前記受信処理再割り当て部は、割り当てられた受信処理が異常と判定された回数を演算装置に割り当てられた識別子毎に記憶し、異常と判定された回数が所定の閾値に達した演算装置を除いて再割り当てすることを特徴とした請求項1に記載の車両制御装置。   The reception process reassignment unit stores the number of times the assigned reception process is determined to be abnormal for each identifier assigned to the arithmetic device, except for the arithmetic device in which the number of times determined to be abnormal reaches a predetermined threshold. The vehicle control device according to claim 1, wherein the vehicle control device is reassigned. 前記受信処理再割り当て部は、受信データ処理と演算装置に事前に割り当てられた処理種別に基づき、処理を再割り当てする演算装置を限定することを特徴とした請求項1に記載の車両制御装置。   The vehicle control device according to claim 1, wherein the reception process reassignment unit limits a calculation device that reassigns a process based on a reception data process and a processing type previously assigned to the calculation device.
JP2016192527A 2016-09-30 2016-09-30 Vehicle control device Pending JP2018055517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016192527A JP2018055517A (en) 2016-09-30 2016-09-30 Vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016192527A JP2018055517A (en) 2016-09-30 2016-09-30 Vehicle control device

Publications (1)

Publication Number Publication Date
JP2018055517A true JP2018055517A (en) 2018-04-05

Family

ID=61836793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016192527A Pending JP2018055517A (en) 2016-09-30 2016-09-30 Vehicle control device

Country Status (1)

Country Link
JP (1) JP2018055517A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019181813A1 (en) 2018-03-23 2019-09-26 大王製紙株式会社 Absorbent article
WO2021192936A1 (en) * 2020-03-27 2021-09-30 日立Astemo株式会社 Device and method for controlling vehicle operating mechanism

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019181813A1 (en) 2018-03-23 2019-09-26 大王製紙株式会社 Absorbent article
WO2021192936A1 (en) * 2020-03-27 2021-09-30 日立Astemo株式会社 Device and method for controlling vehicle operating mechanism

Similar Documents

Publication Publication Date Title
US9218203B2 (en) Packet scheduling in a multiprocessor system using inter-core switchover policy
US8321065B2 (en) Method for controlling/regulating at least one task
US8261266B2 (en) Deploying a virtual machine having a virtual hardware configuration matching an improved hardware profile with respect to execution of an application
US20040003319A1 (en) Logically partitioned computer system and method for controlling configuration of the same
JP4747307B2 (en) Network processing control device, program, and method
US20160077870A1 (en) Starvation control in a data processing system
CN108073446B (en) Timeout prejudging method and device
CN106951321B (en) Method and device for managing CPU (Central processing Unit) resources of virtual machine
US20170046098A1 (en) Online flash resource migration, allocation, retire and replacement manager based on a cost of ownership model
EP3935503A1 (en) Capacity management in a cloud computing system using virtual machine series modeling
JP2018055517A (en) Vehicle control device
US20130191613A1 (en) Processor control apparatus and method therefor
CN108153583B (en) Task allocation method and device and real-time computing framework system
JP5881890B2 (en) Air conditioner management apparatus and method
CN109002348B (en) Load balancing method and device in virtualization system
CN113986500A (en) Task deterministic scheduling method and task diagnosis method in multi-task system
CN111949384B (en) Task scheduling method, device, equipment and computer readable storage medium
US20200142736A1 (en) Computer processing system with resource optimization and associated methods
US20050160425A1 (en) Limitation of the response time of a software process
CN111241537A (en) Task stack overflow detection method and system
JP6138308B1 (en) In-vehicle control device and ROM for in-vehicle control device
JP2010086363A (en) Information processing apparatus and apparatus configuration rearrangement control method
CN111352710A (en) Process management method and device, computing equipment and storage medium
US9658913B2 (en) Method for continuous operation of controller functionality during transient frame overrun
CN116820819A (en) Batch job processing method, device, processor and storage medium

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161003

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170120

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170126