JP7614860B2 - Vehicle Electronic Control Unit - Google Patents
Vehicle Electronic Control Unit Download PDFInfo
- Publication number
- JP7614860B2 JP7614860B2 JP2021011826A JP2021011826A JP7614860B2 JP 7614860 B2 JP7614860 B2 JP 7614860B2 JP 2021011826 A JP2021011826 A JP 2021011826A JP 2021011826 A JP2021011826 A JP 2021011826A JP 7614860 B2 JP7614860 B2 JP 7614860B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- communication
- startup
- electronic control
- relay
- 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.)
- Active
Links
Landscapes
- Safety Devices In Control Systems (AREA)
Description
本発明は、車両ネットワークに接続され、複数の電子制御装置間で通信を行う車両用電子制御装置に関する。 The present invention relates to an electronic control device for a vehicle that is connected to a vehicle network and communicates between multiple electronic control devices.
特許文献1には、簡素な構成でタイムアウトエラーの誤判定を抑制する、車両制御システムの通信エラー判定装置が記載されている。この特許文献1に開示されているシステムでは、複数のECU(Electronic Control Unit)がCAN(Controller Area Network)で通信を行い、各々のECUが起動したタイミングでトリガーフレームを送信し、当該トリガーフレームを起点として通信エラー判定を行うことで、各ECUの起動時間の差による通信エラーの誤判定を抑制している。 Patent Document 1 describes a communication error determination device for a vehicle control system that uses a simple configuration to suppress erroneous determination of timeout errors. In the system disclosed in this patent document 1, multiple ECUs (Electronic Control Units) communicate over a CAN (Controller Area Network), each ECU transmits a trigger frame when it is started, and communication error determination is performed based on the trigger frame, thereby suppressing erroneous determination of communication errors due to differences in the start-up times of each ECU.
ところで、ECUの起動処理において、起動のトリガからマイコンの初期設定が完了し、通信データの送受信が可能となるまでの処理状態遷移のルートが複数存在する場合、遷移ルートによっては起動のトリガから通信データの送受信可能となるまでの時間に大きな差が生ずることがある。例えば、起動時間が最短の遷移ルートで起動したECU1と、最長の遷移ルートで起動したECU2においては、ECU1のCAN送信データに対してECU2がACK(ACKnowledgement)を返さない。このため、ECU1の送信エラーカウンタがカウントアップしてしまう。また、ECU2からのCAN送信が行われないため、ECU1がCAN未受信異常と判断する可能性がある。 However, in the ECU startup process, if there are multiple processing state transition routes from the startup trigger until the microcomputer's initial settings are completed and communication data can be sent and received, there may be a large difference in the time from the startup trigger to when communication data can be sent and received, depending on the transition route. For example, in an ECU1 started up via a transition route with the shortest startup time and an ECU2 started up via a transition route with the longest startup time, ECU2 does not return an ACK (ACKnowledgement) to the CAN transmission data from ECU1. This causes the transmission error counter of ECU1 to count up. Also, since no CAN transmission is performed from ECU2, ECU1 may determine that a CAN non-reception abnormality has occurred.
更に、一般に、車両用電子制御装置では、イグニッションオンの際に、各種の自己・相互診断を実行している。この診断中に、通信が停止されている状態が長く続くと、車両に搭載された電子制御装置間の相互通信が異常状態と判断され、実際には正常な装置が異常状態として扱われる可能性がある。特に、複数のCPUにより実現される機能の診断では、全体の確認が遅れるため、このような問題が生じる可能性が高まる。 Furthermore, vehicle electronic control devices generally perform various self- and mutual diagnosis when the ignition is turned on. If communication is stopped for a long period of time during this diagnosis, the mutual communication between the electronic control devices mounted on the vehicle may be judged to be abnormal, and devices that are actually normal may be treated as being in an abnormal state. In particular, when diagnosing functions implemented by multiple CPUs, the overall confirmation is delayed, increasing the possibility of such problems occurring.
本発明は上記のような事情に鑑みてなされたもので、その目的とするところは、起動時の意図しない通信異常や誤診断を抑制することができる車両用電子制御装置を提供することにある。 The present invention was made in consideration of the above circumstances, and its purpose is to provide an electronic control device for a vehicle that can suppress unintended communication abnormalities and misdiagnosis during startup.
本発明の一態様に係る車両用電子制御装置は、車両に搭載された他の電子制御装置との間で通信を行う通信機能と、前記車両のイグニッションスイッチのオン時に自己診断を行い、所定時間通信がない場合に通信エラーと判定する判定機能と、を有する車両用電子制御装置であって、イグニッションオンになった場合に、パワーオンリセットを行った後、起動処理を実行し、通常起動ルートか否か、シャットダウン復帰起動ルートか否かに応じたウェイト時間を設定し、ウェイト時間経過後に通信を含む通常制御を行う。あるいはイグニッションオンになった場合に、パワーオンリセットを行った後、起動処理を実行し、起動パス毎に設定された適合値をTinit、パワーオンリセットが開始されてからリセット処理が完了するまでの時間をTh、ソフトウェアの起動時間をTsとしたときに、「Tinit=Th+Ts」を取得して適合値を設定し、通常制御が開始されてから適合値により調整された所定時間経過した後に通信が可能となる、ことを特徴とする。 A vehicle electronic control device according to one aspect of the present invention is an electronic control device for a vehicle having a communication function for communicating with other electronic control devices mounted on the vehicle and a judgment function for performing self-diagnosis when an ignition switch of the vehicle is turned on and judging that a communication error has occurred if there is no communication for a predetermined time, and when the ignition is turned on, a power-on reset is performed and then a startup process is executed, a wait time is set according to whether the startup route is a normal startup route or a shutdown recovery startup route, and normal control including communication is executed after the wait time has elapsed. Alternatively, when the ignition is turned on, a power-on reset is performed and then a startup process is executed, and when a compatibility value set for each startup path is Tinit, the time from the start of the power-on reset to the completion of the reset process is Th, and the startup time of the software is Ts, "Tinit = Th + Ts" is obtained to set the compatibility value, and communication is enabled after a predetermined time has elapsed since the start of normal control and adjusted by the compatibility value .
本発明によれば、遷移ルート(起動パス)により起こり得る長い起動時間を基に電子制御装置の相互通信を開始するタイミングを予め調整し、遷移ルートが異なる複数の電子制御装置の起動タイミングを近づけるようにすることで、機器間の相互通信を成立させながら起動時の意図しない通信異常や誤診断を抑制することができる。 According to the present invention, the timing for starting intercommunication between electronic control devices is adjusted in advance based on the long startup time that can occur depending on the transition route (startup path), and the startup timings of multiple electronic control devices with different transition routes are brought closer together, thereby enabling intercommunication between devices while suppressing unintended communication abnormalities and misdiagnosis during startup.
以下、本発明の実施形態について図面を参照して説明する。
図1は、本発明の実施形態に係る車両用電子制御装置が用いられる車両制御システムの概略構成を示している。ここでは、説明を簡単にするために二つの電子制御装置100A,100Bが相互に通信し、車両のアクチュエータ502を駆動制御する構成を例示しているが、複数の電子制御装置が車両ネットワークに接続され、これらの電子制御装置が相互に通信を行って車両を制御する構成の車両制御システムに適用できる。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
1 shows a schematic configuration of a vehicle control system in which a vehicle electronic control device according to an embodiment of the present invention is used. In this example, for the sake of simplicity, a configuration is shown in which two electronic control devices 100A and 100B communicate with each other to drive and control an actuator 502 of a vehicle, but the present invention can be applied to a vehicle control system in which a plurality of electronic control devices are connected to a vehicle network and communicate with each other to control the vehicle.
電子制御装置100Aは、メインユニット200、サブユニット300、及びCAN通信回路400などを備えている。他の電子制御装置100Bも、電子制御装置100Aと同様な構成になっている。
メインユニット200は、メインプロセッサ、制御ユニット、あるいはメインCPU等として機能するもので、車両のアクチュエータ502を駆動制御すると共に、他の電子制御装置100Bとの間でCAN通信回路400を介してCAN通信を行うユニットである。
The electronic control device 100A includes a main unit 200, a sub-unit 300, and a CAN communication circuit 400. The other electronic control device 100B has a similar configuration to the electronic control device 100A.
The main unit 200 functions as a main processor, a control unit, or a main CPU, and is a unit that drives and controls an actuator 502 of the vehicle and performs CAN communication with another electronic control device 100B via a CAN communication circuit 400.
サブユニット300は、サブプロセッサ、監視ユニット、あるいはサブCPU等として機能するもので、メインユニット200の監視(診断)を行うユニットである。このサブユニット300は、メインユニット200の異常を検出したときに、メインユニット200が制御するアクチュエータ502への電源供給ラインをスイッチングするリレー501をオフしてアクチュエータ502の駆動を停止し、また、係るアクチュエータ502の駆動停止に同期してCAN通信回路400をディセーブル(Disable)状態にしてCAN通信を停止させる。
これらメインユニット200とサブユニット300は、ROM、RAM、CPUなどを含むプロセッサコアをそれぞれ有する。
The subunit 300 functions as a subprocessor, a monitoring unit, a subCPU, or the like, and is a unit that monitors (diagnoses) the main unit 200. When the subunit 300 detects an abnormality in the main unit 200, it turns off a relay 501 that switches a power supply line to an actuator 502 controlled by the main unit 200 to stop driving the actuator 502, and also disables the CAN communication circuit 400 in synchronization with the stop of driving the actuator 502 to stop CAN communication.
Each of the main unit 200 and the sub unit 300 has a processor core including a ROM, a RAM, a CPU, and the like.
CAN通信回路(通信ユニット)400は、OR回路401とCANトランシーバ402とを備える。OR回路(論理演算部)401には、メインユニット200からのCANコントロール信号NCSと、リレー駆動回路500のオン/オフを制御するリレー制御信号RCSとが入力される。CANトランシーバ402は、OR回路401がハイレベル信号(イネーブル(Enable)信号)を出力するときにイネーブル(有効)状態、つまりCAN通信可能な状態となり、OR回路401がローレベル信号(ディセーブル信号)を出力するときにディセーブル(無効)状態、つまりCAN通信停止状態となる。 The CAN communication circuit (communication unit) 400 includes an OR circuit 401 and a CAN transceiver 402. The OR circuit (logic operation unit) 401 receives a CAN control signal NCS from the main unit 200 and a relay control signal RCS that controls the on/off state of the relay drive circuit 500. The CAN transceiver 402 is in an enabled state, i.e., a state in which CAN communication is possible, when the OR circuit 401 outputs a high-level signal (enable signal), and in a disabled state, i.e., a state in which CAN communication is stopped, when the OR circuit 401 outputs a low-level signal (disable signal).
なお、CANコントロール信号NCSは、CAN通信を可能とする(CANトランシーバ402をイネーブル状態とする)指令の場合にハイレベル信号として出力され、リレー制御信号RCSは、リレー501をオンさせる場合(アクチュエータ502に電源供給する場合)にハイレベル信号として出力される。また、リレー駆動回路500は、リレー制御信号RCSがハイレベル信号であるときにリレー501をオン(閉成状態、電源供給状態)にする。 The CAN control signal NCS is output as a high-level signal when it is a command to enable CAN communication (to enable the CAN transceiver 402), and the relay control signal RCS is output as a high-level signal when it is to turn on the relay 501 (to supply power to the actuator 502). The relay drive circuit 500 also turns on the relay 501 (closed state, power supply state) when the relay control signal RCS is a high-level signal.
そして、CANコントロール信号NCSとリレー制御信号RCSとの少なくとも一方がハイレベル信号であるときに、OR回路401はハイレベル信号を出力する。これにより、CANトランシーバ402がイネーブル状態となってCAN通信回路400によるCAN通信が可能となる。このとき、CAN通信回路400は、電子制御装置100Bからの受信信号RXをメインユニット200に送信し、メインユニット200からの送信信号TXを電子制御装置100Bに向けて送信する。 When at least one of the CAN control signal NCS and the relay control signal RCS is a high-level signal, the OR circuit 401 outputs a high-level signal. This enables the CAN transceiver 402, allowing CAN communication by the CAN communication circuit 400. At this time, the CAN communication circuit 400 transmits a reception signal RX from the electronic control device 100B to the main unit 200, and transmits a transmission signal TX from the main unit 200 to the electronic control device 100B.
一方、CANコントロール信号NCS及びリレー制御信号RCSが共にローレベル信号であるときに、OR回路401はローレベル信号を出力する。これにより、CANトランシーバ402がディセーブル状態となってCAN通信回路400によるCAN通信が停止され、電子制御装置100Bからの受信信号RXはメインユニット200に送信されず、また、メインユニット200からの送信信号TXが電子制御装置100Bに向けて送信されない状態となる。 On the other hand, when the CAN control signal NCS and the relay control signal RCS are both low level signals, the OR circuit 401 outputs a low level signal. This disables the CAN transceiver 402 and stops CAN communication by the CAN communication circuit 400, so that the reception signal RX from the electronic control device 100B is not transmitted to the main unit 200, and the transmission signal TX from the main unit 200 is not transmitted to the electronic control device 100B.
換言すれば、リレー501をオフする指令に基づきリレー制御信号RCSがローレベルに設定されていても、メインユニット200からハイレベルのCANコントロール信号NCSを出力することで、リレー制御信号RCSによるCAN通信の停止指令が無効とされ、CAN通信回路400によるCAN通信を可能とすることができるように構成されている。 In other words, even if the relay control signal RCS is set to a low level based on a command to turn off the relay 501, the main unit 200 outputs a high-level CAN control signal NCS, thereby invalidating the command to stop CAN communication by the relay control signal RCS and enabling CAN communication by the CAN communication circuit 400.
また、メインユニット200からローレベルのCANコントロール信号NCSが出力されているときには、リレー制御信号RCSに応じてCANトランシーバ402のディセーブル状態、イネーブル状態が切り替えられ、リレー制御信号RCSがローレベルになることで、リレー501(リレー駆動回路500)がオフされてアクチュエータ502の駆動が停止され、係るアクチュエータ502の駆動停止に同期してCANトランシーバ402がディセーブル状態に切り替わってCAN通信回路400によるCAN通信が停止される。 In addition, when a low-level CAN control signal NCS is output from the main unit 200, the CAN transceiver 402 is switched between a disabled state and an enabled state according to the relay control signal RCS, and when the relay control signal RCS goes low, the relay 501 (relay drive circuit 500) is turned off and the drive of the actuator 502 is stopped. In synchronization with the stop of the drive of the actuator 502, the CAN transceiver 402 is switched to a disabled state and CAN communication by the CAN communication circuit 400 is stopped.
後述するように、リレー制御信号RCSは、メインユニット200のプロセッサの異常が検出されたときにローレベルに設定されるよう構成されており、プロセッサに異常が発生したときに、アクチュエータ502の駆動を停止しかつCAN通信を停止することで、車両を安全側に制御するフェイルセーフが実施される。 As described below, the relay control signal RCS is configured to be set to a low level when an abnormality is detected in the processor of the main unit 200. When an abnormality occurs in the processor, the actuator 502 is stopped from being driven and CAN communication is stopped, thereby implementing a fail-safe that controls the vehicle to the safe side.
サブユニット300は、例えば例題演算方式でメインユニット(プロセッサ)200の演算機能の異常を診断(監視)する演算機能監視部301と、メインユニット200におけるリレー501の診断結果を示す信号に基づいてリレー501のオン/オフを制御する信号を出力するリレー出力部302と、演算機能監視部301の出力を入力するNOT回路(インバータ回路)304と、NOT回路304の出力及びリレー出力部302の出力を入力するAND回路305とを備える。
演算機能監視部301は、メインユニット200に向けて例題を出力し、この例題に従ってメインユニット200が演算した結果である回答データを入力し、回答データと期待値とを照合することで、メインユニット200の演算機能が正常であるか異常であるかを診断する。
The subunit 300 includes an arithmetic function monitoring unit 301 which diagnoses (monitors) an abnormality in the arithmetic function of the main unit (processor) 200, for example by using an example arithmetic method; a relay output unit 302 which outputs a signal which controls the on/off of a relay 501 based on a signal which indicates the diagnosis result of the relay 501 in the main unit 200; a NOT circuit (inverter circuit) 304 which inputs the output of the arithmetic function monitoring unit 301; and an AND circuit 305 which inputs the output of the NOT circuit 304 and the output of the relay output unit 302.
The calculation function monitoring unit 301 outputs an example problem to the main unit 200, inputs answer data which is the result of calculation by the main unit 200 according to this example problem, and diagnoses whether the calculation function of the main unit 200 is normal or abnormal by comparing the answer data with an expected value.
演算機能監視部301におけるメインユニット200の診断結果を示す信号は、NOT回路304によって反転されてAND回路305の一方の入力端子に入力される。
ここで、演算機能監視部301は、メインユニット200の演算機能が正常であればローレベル信号を出力し、メインユニット200の演算機能が異常であればハイレベル信号を出力する。従って、メインユニット200の演算機能が正常であればハイレベル信号がAND回路305に入力され、メインユニット200の演算機能が異常であればローレベル信号がAND回路305に入力されることになる。
A signal indicating the diagnosis result of the main unit 200 in the arithmetic function monitoring section 301 is inverted by a NOT circuit 304 and input to one input terminal of an AND circuit 305 .
Here, the calculation function monitoring section 301 outputs a low level signal if the calculation function of the main unit 200 is normal, and outputs a high level signal if the calculation function of the main unit 200 is abnormal. Therefore, if the calculation function of the main unit 200 is normal, a high level signal is input to the AND circuit 305, and if the calculation function of the main unit 200 is abnormal, a low level signal is input to the AND circuit 305.
リレー出力部302は、メインユニット200におけるリレー501の診断結果を示す信号を入力し、診断結果が正常であってリレー501をオンする場合にはハイレベル信号を出力し、診断結果が異常であってリレー501をフェイル処理としてオフする場合にはローレベル信号を出力する。そして、リレー出力部302は、AND回路305の他方の入力端子にリレー501の正常、異常に応じた信号を出力する。 The relay output unit 302 receives a signal indicating the diagnosis result of the relay 501 in the main unit 200, and outputs a high-level signal if the diagnosis result is normal and the relay 501 is turned on, and outputs a low-level signal if the diagnosis result is abnormal and the relay 501 is turned off as a fail process. The relay output unit 302 then outputs a signal to the other input terminal of the AND circuit 305 according to whether the relay 501 is normal or abnormal.
従って、サブユニット300の演算機能監視部301がメインユニット200の演算機能が正常であると診断し、かつ、リレー501は正常であるとメインユニット200が診断してリレー501のオンを指令する場合に、AND回路305の2つの入力が共にハイレベル信号となりAND回路305はハイレベル信号を出力する。 Therefore, when the calculation function monitoring unit 301 of the subunit 300 diagnoses that the calculation function of the main unit 200 is normal, and the main unit 200 diagnoses that the relay 501 is normal and commands the relay 501 to be turned on, both inputs of the AND circuit 305 become high-level signals, and the AND circuit 305 outputs a high-level signal.
一方、演算機能監視部301がメインユニット200の異常状態を判定した場合には、AND回路305の一方の入力信号がローレベル信号になることで、AND回路305はローレベル信号を出力する。
また、メインユニット200がリレー501は異常であると診断してリレー501のオフを指令する場合に、AND回路305の一方の入力信号がローレベル信号になることで、AND回路305はローレベル信号を出力する。
On the other hand, when the arithmetic function monitoring section 301 determines that the main unit 200 is in an abnormal state, one of the input signals to the AND circuit 305 becomes a low level signal, causing the AND circuit 305 to output a low level signal.
In addition, when the main unit 200 diagnoses that the relay 501 is abnormal and issues a command to turn off the relay 501, one of the input signals to the AND circuit 305 becomes a low level signal, causing the AND circuit 305 to output a low level signal.
サブユニット300は、AND回路305の出力を外部のAND回路600の一方の入力端子に出力する。
AND回路600の他方の入力端子にはリレー出力部700の出力が入力される。リレー出力部700には、メインユニット200の自己診断部203の出力が入力される。
The subunit 300 outputs the output of the AND circuit 305 to one input terminal of an external AND circuit 600 .
The output of the relay output section 700 is input to the other input terminal of the AND circuit 600. The output of the self-diagnosis section 203 of the main unit 200 is input to the relay output section 700.
自己診断部203は、メインユニット200が正常であればローレベル信号をリレー出力部700に出力し、メインユニット200が異常であればハイレベル信号をリレー出力部700に出力する。
そして、リレー出力部700は、自己診断部203の出力がローレベル信号であるときにハイレベル信号をAND回路600に出力し、自己診断部203の出力がハイレベル信号であるときにローレベル信号をAND回路600に出力する。
The self-diagnosis section 203 outputs a low level signal to the relay output section 700 if the main unit 200 is normal, and outputs a high level signal to the relay output section 700 if the main unit 200 is abnormal.
The relay output section 700 outputs a high level signal to the AND circuit 600 when the output of the self-diagnosis section 203 is a low level signal, and outputs a low level signal to the AND circuit 600 when the output of the self-diagnosis section 203 is a high level signal.
つまり、リレー出力部700は、メインユニット200における自己診断の結果が正常である場合にハイレベル信号を出力し、メインユニット200における自己診断の結果が異常である場合にはフェイル処理としてのリレー501のオフを実行すべくローレベル信号を出力する。
AND回路600の他方の入力端子にはリレー出力部700の出力が入力されるから、演算機能監視部301がメインユニット200の正常を診断しかつメインユニット200におけるリレー501の診断結果が正常である場合であってAND回路600の一方の入力端子にハイレベル信号が入力される場合であっても、メインユニット200の自己診断結果が異常でリレー出力部700の出力がローレベルであれば、AND回路600の出力(リレー制御信号RCS)はローレベルになる。
In other words, the relay output section 700 outputs a high level signal when the result of the self-diagnosis in the main unit 200 is normal, and outputs a low level signal to turn off the relay 501 as a fail processing step when the result of the self-diagnosis in the main unit 200 is abnormal.
Since the output of the relay output unit 700 is input to the other input terminal of the AND circuit 600, even if the calculation function monitoring unit 301 diagnoses that the main unit 200 is normal and the diagnosis result of the relay 501 in the main unit 200 is normal and a high level signal is input to one input terminal of the AND circuit 600, if the self-diagnosis result of the main unit 200 is abnormal and the output of the relay output unit 700 is at a low level, the output of the AND circuit 600 (relay control signal RCS) will be at a low level.
このように、演算機能監視部301がメインユニット200の正常を診断し、かつ、メインユニット200におけるリレー501の診断結果が正常で、かつ、メインユニット200の自己診断結果が正常である場合に、AND回路600の出力であるリレー制御信号RCSはハイレベル信号になる。
一方、演算機能監視部301がメインユニット200の異常を診断した場合、メインユニット200がリレー501の異常を診断した場合、メインユニット200の自己診断結果が異常である場合は、AND回路600の出力であるリレー制御信号RCSはローレベル信号になる。
In this way, when the calculation function monitoring unit 301 diagnoses whether the main unit 200 is normal, and the diagnosis result of the relay 501 in the main unit 200 is normal, and the self-diagnosis result of the main unit 200 is normal, the relay control signal RCS, which is the output of the AND circuit 600, becomes a high-level signal.
On the other hand, if the calculation function monitoring unit 301 diagnoses an abnormality in the main unit 200, if the main unit 200 diagnoses an abnormality in the relay 501, or if the self-diagnosis result of the main unit 200 is abnormal, the relay control signal RCS, which is the output of the AND circuit 600, becomes a low-level signal.
リレー駆動回路500は、AND回路600の出力(リレー制御信号RCS)がハイレベル信号であるときにリレー501をオン(閉成状態)に駆動し、AND回路600の出力がローレベル信号であるときにリレー501をオフ(開成状態)に駆動する。
リレー501は、オン(閉成状態)であるときにアクチュエータ502へ電源電力を供給し、オフ(開成状態)であるときにアクチュエータ502への電源電力の供給を遮断する。
なお、リレー501として、電磁リレーを用いることができ、また、MOSFETなどの半導体リレーを用いることができる。また、アクチュエータ502は、例えば、ソレノイドやモータなどである。
The relay drive circuit 500 drives the relay 501 on (closed state) when the output of the AND circuit 600 (relay control signal RCS) is a high level signal, and drives the relay 501 off (open state) when the output of the AND circuit 600 is a low level signal.
The relay 501 supplies power from the power source to the actuator 502 when it is on (closed state), and cuts off the supply of power from the power source to the actuator 502 when it is off (open state).
An electromagnetic relay or a semiconductor relay such as a MOSFET can be used as the relay 501. The actuator 502 is, for example, a solenoid or a motor.
上記構成により、演算機能監視部301がメインユニット200の異常を診断した場合、メインユニット200がリレー501の異常を診断した場合、メインユニット200の自己診断結果が異常である場合に、リレー制御信号RCSがローレベルになる。これによって、リレー501がオフされてアクチュエータ502への電源電力の供給が遮断される。
更に、リレー制御信号RCSはOR回路401に出力されるから、CANコントロール信号NCSがローレベルである状態でリレー制御信号RCSがローレベルに切り替わればアクチュエータ502の駆動停止に同期してCAN通信回路400によるCAN通信が停止されることになる。
With the above configuration, when the calculation function monitoring unit 301 diagnoses an abnormality in the main unit 200, when the main unit 200 diagnoses an abnormality in the relay 501, or when the self-diagnosis result of the main unit 200 indicates an abnormality, the relay control signal RCS goes to low level. This turns off the relay 501 and cuts off the supply of power from the power source to the actuator 502.
Furthermore, since the relay control signal RCS is output to the OR circuit 401, if the relay control signal RCS switches to a low level while the CAN control signal NCS is at a low level, CAN communication by the CAN communication circuit 400 is stopped in synchronization with the stopping of the drive of the actuator 502.
但し、メインユニット200からハイレベルのCANコントロール信号NCSが出力されている状態では、リレー制御信号RCSがローレベルになってもCAN通信回路400によるCAN通信は可能な状態に保持される。
なお、リレー制御信号RCSをローレベルにする条件は、上記の診断結果に限定されるものではない。例えば、メインユニット200がサブユニット300を監視し、サブユニット(プロセッサ)300の異常を検出したときに、リレー制御信号RCSをローレベルに制御することができる。
However, when the main unit 200 outputs a high-level CAN control signal NCS, the CAN communication circuit 400 remains capable of performing CAN communication even if the relay control signal RCS goes to a low level.
The condition for setting the relay control signal RCS to a low level is not limited to the above-mentioned diagnosis result. For example, when the main unit 200 monitors the subunit 300 and detects an abnormality in the subunit (processor) 300, the main unit 200 can control the relay control signal RCS to a low level.
メインユニット200は、サブユニット300の演算機能監視部301からの例題データを受信し、受信した例題を演算して回答を演算機能監視部301に出力する例題演算部(ALU診断部)201を備えている。
また、メインユニット200は、リレー501の診断(閉固着、開固着異常などの診断)を行うリレー診断部202を備え、このリレー診断部202は、サブユニット300のリレー出力部302に診断結果を示す信号、換言すれば、リレー501のオン/オフ指令信号を出力する。
The main unit 200 includes an example problem calculation section (ALU diagnostic section) 201 which receives example problem data from the calculation function monitoring section 301 of the subunit 300 , calculates the received example problem, and outputs an answer to the calculation function monitoring section 301 .
The main unit 200 also includes a relay diagnostic section 202 that diagnoses the relay 501 (such as for stuck-closed or stuck-open abnormalities), and this relay diagnostic section 202 outputs a signal indicating the diagnosis result to the relay output section 302 of the subunit 300, in other words, an on/off command signal for the relay 501.
また、メインユニット200は、自己診断部203を備える。この自己診断部203は、車両のイグニッションスイッチのオン時に自己診断を行い、所定時間通信がない場合に通信エラーと判定する判定機能を有する。更に、この自己診断部203は、タイマ/クロック診断、タスク実行周期診断、A/D変換診断、電源回路診断、CPU機能診断などの各種の自己診断を実施し、診断結果を示す信号を外部のリレー出力部700に出力する。 The main unit 200 also includes a self-diagnosis unit 203. This self-diagnosis unit 203 performs self-diagnosis when the vehicle ignition switch is turned on, and has a determination function that determines that a communication error has occurred if there is no communication for a specified period of time. Furthermore, this self-diagnosis unit 203 performs various self-diagnoses such as timer/clock diagnosis, task execution cycle diagnosis, A/D conversion diagnosis, power supply circuit diagnosis, and CPU function diagnosis, and outputs a signal indicating the diagnosis result to the external relay output unit 700.
更に、メインユニット200は、CAN通信回路400のOR回路401に対してCANコントロール信号NCSを出力するCANコントロール部204、CAN通信回路400を介して受信信号RXを受信しCAN通信回路400に向けて送信する送信信号TX(CANデータ)を生成するCAN通信部205を備える。 The main unit 200 further includes a CAN control section 204 that outputs a CAN control signal NCS to the OR circuit 401 of the CAN communication circuit 400, and a CAN communication section 205 that receives a reception signal RX via the CAN communication circuit 400 and generates a transmission signal TX (CAN data) to transmit to the CAN communication circuit 400.
図2は、従来の車両用電子制御装置における起動トリガから通信可能となるまで、すなわち、車両のメインスイッチであるイグニッションスイッチがオンされて電源が投入され、電子制御装置が通信データの送受信可能となるまでの参考例のタイムチャートを示している。
まず、時刻t0にイグニッションスイッチがオンしてイグニッション信号IGNSWがハイレベルになると、このイグニッションスイッチのオンから、メインユニット200及びサブユニット300のパワーオンリセットが開始され、リセット処理が完了する時間Th[s]経過後の時刻t1に、パワーオンリセット信号RESETがハイレベルになってリセットが解除される。この時刻t1に起動処理が開始され、ソフトウェアの起動時間をTs[s]とすると、時刻t2に起動処理が終了し、通常制御が開始されてCAN通信が可能となる。
FIG. 2 shows a reference example time chart from the start-up trigger in a conventional vehicle electronic control device until communication becomes possible, that is, from when the ignition switch, which is the main switch of the vehicle, is turned on to power up and until the electronic control device becomes able to send and receive communication data.
First, when the ignition switch is turned on at time t0 and the ignition signal IGNSW goes high, a power-on reset of the main unit 200 and the sub-unit 300 is initiated from the time t0 when the ignition switch is turned on, and at time t1 after a time Th [s] has elapsed when the reset process is completed, the power-on reset signal RESET goes high and the reset is released. The start-up process starts at this time t1, and if the software start-up time is Ts [s], the start-up process ends at time t2, normal control starts, and CAN communication becomes possible.
ここで、時刻t0~t2間の期間が最長起動時間Tmaxであり、「Tmax=Th+Ts」である。時間Thは電子制御装置のハードウェア構成により決定され、時間Tsは電子制御装置のソフトウェアと、起動パスに介在される他の電子制御装置のソフトウェアによって決定される。時間Tsは、ソフトウェアのバージョンによっても異なる。 Here, the period between times t0 and t2 is the maximum startup time Tmax, where "Tmax = Th + Ts". Time Th is determined by the hardware configuration of the electronic control device, and time Ts is determined by the software of the electronic control device and the software of other electronic control devices that are interposed in the startup path. Time Ts also differs depending on the software version.
図3は、本発明の第1の実施形態に係る電子制御装置における起動トリガから通信可能となるまでのタイムチャートである。図2と比較すれば明らかなように、本実施形態では、電子制御装置の起動処理と通常制御との間に、ウェイト時間(待ち時間)を設け、起動後にCAN通信を含む通常制御を開始するタイミングを予め設定(調整)している。 Figure 3 is a time chart from the start-up trigger to when communication becomes possible in an electronic control device according to a first embodiment of the present invention. As is clear from a comparison with Figure 2, in this embodiment, a wait time is provided between the start-up process and normal control of the electronic control device, and the timing for starting normal control including CAN communication after startup is preset (adjusted).
すなわち、時刻t10にイグニッションスイッチがオンしてイグニッション信号IGNSWがハイレベルになると、このイグニッションスイッチのオンから、メインユニット200及びサブユニット300のパワーオンリセットが開始され、リセット処理が完了する時間Th[s]経過後の時刻t11に、パワーオンリセット信号RESETがハイレベルになってリセットが解除される。この時刻t11に起動処理が開始され、ソフトウェアの起動時間をTs[s]とすると、時刻t12に起動処理が終了する。時刻t12に起動処理が終了すると、時刻t13まではウェイト時間となる。ウェイト時間は、例えば各々の遷移ルートにおける処理時間を予め計測しておき、この差分から算出する。このウェイト時間は、車両制御システムに搭載された電子制御装置のうち、イグニッションオンから複数の起動パスを経由してCAN通信を開始するまでの時間が最も長い最長起動時間Tmaxとなるように設定する。そして、時刻t13にウェイト時間が終了すると、通常制御が開始されてCAN通信が可能となる。 That is, when the ignition switch is turned on at time t10 and the ignition signal IGNSW becomes high level, the power-on reset of the main unit 200 and the sub unit 300 is started from the time t10 when the ignition switch is turned on, and at time t11 after the time Th [s] when the reset process is completed has elapsed, the power-on reset signal RESET becomes high level and the reset is released. The startup process starts at this time t11, and if the software startup time is Ts [s], the startup process ends at time t12. When the startup process ends at time t12, the wait time is until time t13. The wait time is calculated from the difference between the processing time in each transition route, for example, measured in advance. This wait time is set to the longest startup time Tmax, which is the longest time from ignition on to the start of CAN communication via multiple startup paths among the electronic control devices mounted on the vehicle control system. Then, when the wait time ends at time t13, normal control starts and CAN communication becomes possible.
このように起動処理を最長起動時間Tmaxまで延長することで、起動時間Twaitを一定化することができる。換言すれば、車両制御システムに搭載されている複数の電子制御装置の起動を、起動トリガからCAN通信可能となるまでの時間が最も遅い電子制御装置の起動時間に揃えることができる。
なお、起動時間Twaitは、「Twait=Tmax-Th」で表すことができ、例えばメインユニット200またはサブユニット300に内蔵のタイマを用いて設定してもよい。また、必ずしも最長起動時間Tmaxに設定する必要はなく、車両に搭載された電子制御装置間の相互通信が異常状態と判断されない時間に調整してもよい。
In this way, by extending the startup process to the maximum startup time Tmax, the startup time Twait can be made constant. In other words, the startup of multiple electronic control devices mounted on the vehicle control system can be aligned with the startup time of the electronic control device that has the longest time from the startup trigger to becoming capable of CAN communication.
The startup time Twait can be expressed as "Twait = Tmax - Th" and may be set, for example, using a timer built into the main unit 200 or the subunit 300. Also, it does not necessarily have to be set to the maximum startup time Tmax, and may be adjusted to a time at which mutual communication between electronic control devices mounted on the vehicle is not judged to be in an abnormal state.
図4は、本発明の第1の実施形態に係る電子制御装置における起動トリガから通信可能となるまでのフローチャートである。まず、起動のトリガとなるイグニッション信号IGNSWを検出し(ステップS1)、イグニッション信号IGNSWのレベルにより、イグニッションオンか判定する(ステップS2)。イグニッションオン(ハイレベル)と判定されると、メインユニット200及びサブユニット300のパワーオンリセットを実行し(ステップS3)、パワーオンリセットが終了したか判定する(ステップS4)。
ステップS2で、イグニッションオンではない(ローレベル)と判定された場合には、イグニッション信号IGNSWがハイレベルになるまで待ち続ける。また、ステップS4で、メインユニット200及びサブユニット300のパワーオンリセットが終了していないと判定された場合には、ステップS3に戻ってパワーオンリセットを続行する。
4 is a flow chart showing the process from the start-up trigger to the enablement of communication in the electronic control unit according to the first embodiment of the present invention. First, the ignition signal IGNSW, which is the start-up trigger, is detected (step S1), and it is determined whether the ignition is on or not based on the level of the ignition signal IGNSW (step S2). If it is determined that the ignition is on (high level), a power-on reset of the main unit 200 and the sub-unit 300 is executed (step S3), and it is determined whether the power-on reset has been completed (step S4).
If it is determined in step S2 that the ignition is not on (low level), the process continues to wait until the ignition signal IGNSW becomes high level. If it is determined in step S4 that the power-on reset of the main unit 200 and the sub-unit 300 is not completed, the process returns to step S3 to continue the power-on reset.
ステップS4でメインユニット200及びサブユニット300のパワーオンリセットが終了したと判定されると、起動処理を開始する(ステップS5)。この起動処理には、起動パス(遷移ルート)の選択が含まれており、例えば通常起動ルートか、シャットダウン復帰起動ルートか、それ以外の起動ルートかが選択される。
次のステップS6では、通常起動ルートか否か判定し、通常起動ルートであると判定されると、ウェイト時間ΔWt1を設定する(ステップS7)。ステップS6で通常起動ルートではないと判定されると、シャットダウン復帰起動ルートか否か判定し(ステップS8)、シャットダウン復帰起動ルートであると判定されると、ウェイト時間ΔWt2を設定する(ステップS9)。ステップS8でシャットダウン復帰起動ルートではないと判定されると、ウェイト時間ΔWt3を設定する(ステップS10)。そして、設定したウェイト時間が経過したか判定し(ステップS11)、経過した時点で通常制御を実行する(ステップS12)。
When it is determined in step S4 that the power-on reset of the main unit 200 and the sub-unit 300 has been completed, the start-up process is started (step S5). This start-up process includes the selection of a start-up path (transition route), for example, a normal start-up route, a shutdown recovery start-up route, or another start-up route.
In the next step S6, it is determined whether the startup route is a normal startup route, and if so, a wait time ΔWt1 is set (step S7). If it is determined in step S6 that the startup route is not a normal startup route, it is determined whether the startup route is a shutdown recovery startup route (step S8), and if so, a wait time ΔWt2 is set (step S9). If it is determined in step S8 that the startup route is not a shutdown recovery startup route, a wait time ΔWt3 is set (step S10). Then, it is determined whether the set wait time has elapsed (step S11), and normal control is executed at the time of elapse (step S12).
上述したように、電子制御装置の起動処理と通常制御との間にウェイト時間を設け、遷移ルート(起動パス)により起こり得る長い起動時間を基に電子制御装置の相互通信を設定することで、機器間の相互通信は成立させながら起動時の意図しない通信異常や誤診断を抑制することができる。
また、車両ネットワークに接続された複数の電子制御装置の起動から通常制御の開始までの時間を合わせることができるので、どの起動パスを通ったとしても起動時間の差を少なくして通信エラーの発生及び誤判定を低減できる。
As described above, by providing a wait time between the startup process and normal control of the electronic control device and setting the intercommunication between the electronic control devices based on the long startup time that may occur due to the transition route (startup path), it is possible to suppress unintended communication abnormalities and misdiagnosis during startup while still allowing intercommunication between devices.
In addition, since the time from startup of multiple electronic control devices connected to the vehicle network to the start of normal control can be synchronized, the difference in startup time can be reduced regardless of which startup path is taken, thereby reducing the occurrence of communication errors and erroneous judgments.
なお、上述した第1の実施形態では、起動後に通信を開始するタイミングを予め調整するようにしたが、自己診断を実行するタイミングを電子制御装置自身で設定することでウェイト時間に相当する遅延を生成するように構成してもよい。
また、遷移ルート(起動パス)が分かれば、ソフトウェアの起動時間Tsが決まっているので、遷移ルートから起動時間Twaitを算出してもよい。
In the first embodiment described above, the timing for starting communication after startup is adjusted in advance, but the electronic control device may be configured to set the timing for executing self-diagnosis itself, thereby generating a delay equivalent to the wait time.
Furthermore, if the transition route (startup path) is known, the startup time Ts of the software is determined, and therefore the startup time Twait may be calculated from the transition route.
更に、メインユニット200のパワーオンリセットが解除されるまでの時間Thの精度を上げるために、サブユニット300から時間Thを受信し、起動時間Twaitを算出するように構成してもよい。
更にまた、サブユニット300から時間Thが受信できない場合や、机上計算の時間Thより大きい場合には、時間Thを使用するフェイルセーフ(F/S)動作も考慮するとよい。
Furthermore, in order to improve the accuracy of the time Th until the power-on reset of the main unit 200 is released, the time Th may be received from the sub-unit 300 and the startup time Twait may be calculated.
Furthermore, if the time Th cannot be received from the subunit 300 or is longer than the theoretically calculated time Th, a fail-safe (F/S) operation using the time Th may be considered.
図5は、本発明の第2の実施形態に係る電子制御装置における起動トリガから通信可能となるまでのタイムチャートである。本実施形態では、電子制御装置の起動時間別に通常制御に適合値を持たせている。
すなわち、時刻t20にイグニッションスイッチがオンしてイグニッション信号IGNSWがハイレベルになると、このイグニッションスイッチのオンから、メインユニット200及びサブユニット300のパワーオンリセットが開始され、リセット処理が完了する時間Th[s]経過後の時刻t21に、パワーオンリセット信号RESETがハイレベルになってリセットが解除される。この時刻t11に起動処理が開始され、ソフトウェアの起動時間をTs[s]とすると、時刻t22に起動処理が終了して通常制御が開始される。そして、通常制御が開始されてから所定時間経過した時刻t23に、CAN通信が可能となる。この時刻t22,t23間の時間は、起動処理完了時に取得した「Tinit=Th+Ts」に基づき、起動パス毎に設定された適合値で調整される。この適合値は、起動パスによって変化し、起動トリガから通信可能となるまでの時間が長いと大きくなる。
5 is a time chart showing a time from a start-up trigger to when communication becomes possible in an electronic control unit according to a second embodiment of the present invention. In this embodiment, an adaptation value is assigned to normal control according to the start-up time of the electronic control unit.
That is, when the ignition switch is turned on at time t20 and the ignition signal IGNSW becomes high level, the power-on reset of the main unit 200 and the sub unit 300 is started from the time t20 when the ignition switch is turned on, and at time t21 after the time Th [s] when the reset process is completed has elapsed, the power-on reset signal RESET becomes high level and the reset is released. If the startup process is started at this time t11 and the software startup time is Ts [s], the startup process ends at time t22 and normal control starts. Then, at time t23, a predetermined time after the start of normal control, CAN communication becomes possible. The time between these times t22 and t23 is adjusted by a suitable value set for each startup path based on "Tinit = Th + Ts" obtained at the completion of the startup process. This suitable value changes depending on the startup path, and becomes larger if the time from the startup trigger to the time when communication becomes possible is long.
図6は、本発明の第2の実施形態に係る電子制御装置における起動トリガから通信可能となるまでのフローチャートである。まず、起動のトリガとなるイグニッション信号IGNSWを検出し(ステップS21)、イグニッション信号IGNSWのレベルにより、イグニッションオンか判定する(ステップS22)。イグニッションオン(ハイレベル)と判定されると、メインユニット200及びサブユニット300のパワーオンリセットを実行し(ステップS23)、パワーオンリセットが終了したか判定する(ステップS24)。
ステップS22で、イグニッションオンではない(ローレベル)と判定された場合には、イグニッション信号IGNSWがハイレベルになるまで待ち続ける。また、ステップS24で、メインユニット200及びサブユニット300のパワーオンリセットが終了していないと判定された場合には、ステップS23に戻ってパワーオンリセットを続行する。
6 is a flow chart showing the process from the start-up trigger to the enablement of communication in an electronic control unit according to a second embodiment of the present invention. First, the ignition signal IGNSW, which is the start-up trigger, is detected (step S21), and it is determined whether the ignition is on or not based on the level of the ignition signal IGNSW (step S22). If it is determined that the ignition is on (high level), a power-on reset of the main unit 200 and the sub-unit 300 is executed (step S23), and it is determined whether the power-on reset has been completed (step S24).
If it is determined in step S22 that the ignition is not on (low level), the process continues to wait until the ignition signal IGNSW becomes high level. If it is determined in step S24 that the power-on reset of the main unit 200 and the sub-unit 300 is not completed, the process returns to step S23 to continue the power-on reset.
ステップS24でメインユニット200及びサブユニット300のパワーオンリセットが終了したと判定されると、起動処理を開始する(ステップS25)。
起動処理が終了すると、適合値を設定するために「Tinit=Th-Ts」を取得する(ステップS26)。これによって、起動パス(遷移ルート)が認識され、適合値が設定される。
続いて、通常制御が開始され、設定された適合値に応じてCAN通信を開始するまでの時間が調整される(ステップS27)。
When it is determined in step S24 that the power-on reset of the main unit 200 and the sub-unit 300 has been completed, a start-up process is started (step S25).
When the startup process is completed, "Tinit=Th-Ts" is obtained to set a suitable value (step S26), whereby the startup path (transition route) is recognized and a suitable value is set.
Next, normal control is started, and the time until the start of CAN communication is adjusted according to the set adaptation value (step S27).
このように起動パス別に適合値を持たせることで、通常制御側でTinitに応じた制御を行うことができる。起動パスの相違により起こり得る長い起動時間を基に電子制御装置の相互通信を設定するので、機器間の相互通信は成立させながら起動時の意図しない通信異常や誤診断を抑制することができる。しかも、起動時間に対する適合への対応策として、起動時間毎に適合値を可変させる構成とすることで、動作パラメータを変更できる。 In this way, by providing an adaptation value for each startup path, control according to Tinit can be performed on the normal control side. Since the intercommunication of electronic control devices is set based on the long startup times that can occur due to differences in startup paths, it is possible to suppress unintended communication errors and misdiagnosis during startup while still allowing intercommunication between devices. Furthermore, as a countermeasure to adaptation to startup times, the configuration allows the adaptation value to be changed for each startup time, making it possible to change operating parameters.
車載機器においては、制御対象の状態や車両全体の整合等の都合で起動時間が変化した場合には、動作パラメータを変更したいという車両メーカ側の要求があるが、起動条件により起動時間が変化する機器の場合は、ECUを単一のパラメータで起動すると必ずしも適切な動作状態とならない惧れがあった。しかし、本第2の実施形態では、動作パラメータを変更できるので、このような要求にも応えることができる。 In the case of in-vehicle devices, there is a demand from vehicle manufacturers to change the operating parameters when the start-up time changes due to the state of the controlled object or the consistency of the entire vehicle, but in the case of devices in which the start-up time changes depending on the start-up conditions, there is a concern that starting the ECU with a single parameter does not necessarily result in an appropriate operating state. However, in the second embodiment, the operating parameters can be changed, so such demands can be met.
なお、上述した第1の実施形態と同様に、ソフトウェアの起動時間Tsが決まっているので、本第2の実施形態でも遷移ルート(起動パス)が分かれば、遷移ルートから起動時間Twaitの設定を行ってもよい。
また、メインユニット200のパワーオンリセットが解除されるまでの時間Thの精度を上げるために、サブユニット300から時間Thを受信し、起動時間Twaitを算出するように構成してもよい。
更に、サブユニット300から時間Thが受信できない場合や、机上計算の時間Thより大きい場合には、時間Thを使用するフェイルセーフ(F/S)動作も考慮するとよい。
As in the first embodiment described above, the startup time Ts of the software is determined. Therefore, in the second embodiment, if the transition route (startup path) is known, the startup time Twait may be set from the transition route.
In order to improve the accuracy of the time Th until the power-on reset of the main unit 200 is released, the time Th may be received from the sub-unit 300 and the startup time Twait may be calculated.
Furthermore, if the time Th cannot be received from the subunit 300 or is longer than the theoretically calculated time Th, a fail-safe (F/S) operation using the time Th may be considered.
以上、第1、第2の実施形態を用いて本発明の説明を行ったが、本発明は上記各実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。
例えば、電子制御装置100A,100Bが、メインユニット200と、このメインユニット200の診断を行う監視用のサブユニット300で構成されている場合を例に取って説明したが、自己診断機能を持っていればサブユニットは設けなくてもよい。
また、電子制御装置100A,100B間の通信方式としてCAN通信を挙げたが、AUD通信、LIN通信、FlexRay通信など他の通信方式にも同様にして適用できる。
The present invention has been described above using the first and second embodiments, but the present invention is not limited to the above-mentioned embodiments, and various modifications can be made in the implementation stage without departing from the gist of the invention.
For example, the electronic control devices 100A, 100B have been described as being composed of a main unit 200 and a monitoring subunit 300 that diagnoses the main unit 200, but a subunit does not need to be provided if the electronic control devices have a self-diagnosis function.
Further, although CAN communication has been mentioned as the communication method between the electronic control devices 100A and 100B, other communication methods such as AUD communication, LIN communication, and FlexRay communication can be similarly applied.
このように、上記第1、第2の実施形態には種々の段階の発明が含まれており、開示される複数の構成要件の適宜な組み合わせにより種々の発明が抽出され得る。例えば実施形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題の少なくとも1つが解決でき、発明の効果の欄で述べられている効果の少なくとも1つが得られる場合には、この構成要件が削除された構成が発明として抽出され得る。 In this way, the first and second embodiments include inventions at various stages, and various inventions can be extracted by appropriate combinations of the multiple constituent elements disclosed. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiments, if at least one of the problems stated in the "Problem to be Solved by the Invention" column can be solved and at least one of the effects stated in the "Effects of the Invention" column can be obtained, the configuration from which the constituent elements have been deleted can be extracted as an invention.
100A,100B…電子制御装置、200…メインユニット、202…リレー診断部、203…自己診断部、204…CANコントロール部、205…CAN通信部、300…サブユニット、301…演算機能監視部、305,600…AND回路、400…CAN通信回路、401…OR回路、402…CANトランシーバ、500…リレー駆動回路、501…リレー、502…アクチュエータ 100A, 100B...Electronic control device, 200...Main unit, 202...Relay diagnosis section, 203...Self-diagnosis section, 204...CAN control section, 205...CAN communication section, 300...Subunit, 301...Calculation function monitoring section, 305, 600...AND circuit, 400...CAN communication circuit, 401...OR circuit, 402...CAN transceiver, 500...Relay drive circuit, 501...Relay, 502...Actuator
Claims (2)
イグニッションオンになった場合に、パワーオンリセットを行った後、起動処理を実行し、通常起動ルートか否か、シャットダウン復帰起動ルートか否かに応じたウェイト時間を設定し、ウェイト時間経過後に通信を含む通常制御を行う、ことを特徴とする車両用電子制御装置。 An electronic control device for a vehicle having a communication function for communicating with other electronic control devices mounted on a vehicle, and a determination function for performing a self-diagnosis when an ignition switch of the vehicle is turned on and determining that a communication error has occurred if there is no communication for a predetermined period of time,
This electronic control device for a vehicle is characterized in that, when an ignition is turned on, after a power-on reset is performed, a startup process is executed, a wait time is set according to whether a normal startup route or a shutdown recovery startup route is selected, and normal control including communication is performed after the wait time has elapsed.
イグニッションオンになった場合に、パワーオンリセットを行った後、起動処理を実行し、起動パス毎に設定された適合値をTinit、パワーオンリセットが開始されてからリセット処理が完了するまでの時間をTh、ソフトウェアの起動時間をTsとしたときに、「Tinit=Th+Ts」を取得して適合値を設定し、通常制御が開始されてから適合値により調整された所定時間経過した後に通信が可能となる、ことを特徴とする車両用電子制御装置。 An electronic control device for a vehicle having a communication function for communicating with other electronic control devices mounted on a vehicle, and a determination function for performing a self-diagnosis when an ignition switch of the vehicle is turned on and determining that a communication error has occurred if there is no communication for a predetermined period of time,
When the ignition is turned on, a power-on reset is performed, and then a startup process is executed. A compatibility value set for each startup path is obtained by obtaining "Tinit = Th + Ts", where Th is the time from when the power-on reset is started to when the reset process is completed, and Ts is the software startup time. Then, communication becomes possible after a predetermined time adjusted by the compatibility value has elapsed since normal control is started.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021011826A JP7614860B2 (en) | 2021-01-28 | 2021-01-28 | Vehicle Electronic Control Unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021011826A JP7614860B2 (en) | 2021-01-28 | 2021-01-28 | Vehicle Electronic Control Unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022115295A JP2022115295A (en) | 2022-08-09 |
| JP7614860B2 true JP7614860B2 (en) | 2025-01-16 |
Family
ID=82747831
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021011826A Active JP7614860B2 (en) | 2021-01-28 | 2021-01-28 | Vehicle Electronic Control Unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7614860B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2024084244A (en) * | 2022-12-13 | 2024-06-25 | 株式会社オートネットワーク技術研究所 | In-vehicle device, startup control method, and startup control program |
| CN116679674A (en) * | 2023-06-27 | 2023-09-01 | 中国第一汽车股份有限公司 | Method, device and processor for testing response time of vehicle control system |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006140739A (en) | 2004-11-11 | 2006-06-01 | Fujitsu Ten Ltd | Communication synchronization device, system, method, and program |
| JP2010136544A (en) | 2008-12-05 | 2010-06-17 | Daimler Ag | Communication error determining apparatus and communication error determining method for vehicle control system |
| JP2015072569A (en) | 2013-10-02 | 2015-04-16 | 株式会社デンソー | Control device |
| JP2018152734A (en) | 2017-03-13 | 2018-09-27 | 本田技研工業株式会社 | Communication device, communication method, and program |
| US20190013930A1 (en) | 2017-07-07 | 2019-01-10 | Board Of Regents Of The Nevada System Of Higher Education, On Behalf Of The University Of Nevada, | Multi-processor automotive electronic control unit |
-
2021
- 2021-01-28 JP JP2021011826A patent/JP7614860B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006140739A (en) | 2004-11-11 | 2006-06-01 | Fujitsu Ten Ltd | Communication synchronization device, system, method, and program |
| JP2010136544A (en) | 2008-12-05 | 2010-06-17 | Daimler Ag | Communication error determining apparatus and communication error determining method for vehicle control system |
| JP2015072569A (en) | 2013-10-02 | 2015-04-16 | 株式会社デンソー | Control device |
| JP2018152734A (en) | 2017-03-13 | 2018-09-27 | 本田技研工業株式会社 | Communication device, communication method, and program |
| US20190013930A1 (en) | 2017-07-07 | 2019-01-10 | Board Of Regents Of The Nevada System Of Higher Education, On Behalf Of The University Of Nevada, | Multi-processor automotive electronic control unit |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022115295A (en) | 2022-08-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5283651B2 (en) | Control device for vehicle | |
| US10826423B2 (en) | Motor driving apparatus and motor driving method | |
| US11643095B2 (en) | Electronic control device, control system, and reset determination method | |
| US9251632B2 (en) | Vehicle diagnostic system | |
| JP7614860B2 (en) | Vehicle Electronic Control Unit | |
| JPH11294252A (en) | Electronic control unit | |
| JP2010285001A (en) | Electronic control system, function substitution method | |
| JP2011257889A (en) | Safety control system | |
| JP5843786B2 (en) | Monitoring computer in the control unit | |
| US10710521B2 (en) | Abnormality monitoring device and electric power steering device using same | |
| CN113371057B (en) | Motor control device | |
| JP2013514497A (en) | Monitoring concept in control equipment | |
| JP2020078107A (en) | Motor controller | |
| JP2013182477A (en) | Microprocessor external monitoring circuit, electronic controller and electrically-driven power steering device | |
| JP2017146897A (en) | Microcontroller and electronic control device | |
| JP7023722B2 (en) | Duplex control system | |
| JP5582748B2 (en) | Electronic control device for vehicle | |
| CA2530149C (en) | Starting control method, duplex platform system, and information processor | |
| JP3804454B2 (en) | Electronic control device | |
| JP4743164B2 (en) | Engine start control device | |
| JP2016142141A (en) | Electronic control device for vehicle | |
| JP6181011B2 (en) | Control device for internal combustion engine | |
| JP2015033863A (en) | Electronic control device for vehicle | |
| CN108427340A (en) | Electronic control unit | |
| US20260103155A1 (en) | Communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230705 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20231215 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20231219 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240208 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240507 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240705 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241022 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241113 |
|
| 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: 20241203 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241227 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7614860 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |